Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_psi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_psi",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00207/0.002071, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001736/0.001735, allocations: 193.6 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.58/1.58, allocations: 205.1 MB / 222.4 MB, free: 4.578 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.852/1.852, allocations: 292.3 MB / 0.5489 GB, free: 12.85 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 70.97 kB / 0.6716 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2395, allocations: 114.5 MB / 0.7835 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.002409/0.242, allocations: 0.8529 MB / 0.7843 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001525/0.2422, allocations: 47.78 kB / 0.7844 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.176e-05/0.2422, allocations: 0 / 0.7844 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.311e-05/0.2423, allocations: 7.875 kB / 0.7844 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.088e-05/0.2424, allocations: 7.875 kB / 0.7844 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 5.823e-05/0.2425, allocations: 23.97 kB / 0.7844 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001088/0.2426, allocations: 75.78 kB / 0.7845 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001515/0.2428, allocations: 37.38 kB / 0.7845 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.176e-05/0.2428, allocations: 27.86 kB / 0.7845 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.181e-05/0.2429, allocations: 35.8 kB / 0.7846 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.311e-05/0.2429, allocations: 4 kB / 0.7846 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.476e-05/0.2429, allocations: 8 kB / 0.7846 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.602e-05/0.243, allocations: 23.91 kB / 0.7846 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.629e-05/0.243, allocations: 35.73 kB / 0.7846 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001213/0.2432, allocations: 79.92 kB / 0.7847 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.2432, allocations: 3.938 kB / 0.7847 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2432, allocations: 0 / 0.7847 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.2432, allocations: 0 / 0.7847 GB, free: 12.14 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004926/0.2437, allocations: 395.1 kB / 0.7851 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.2437, allocations: 8.031 kB / 0.7851 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.255e-05/0.2438, allocations: 42.69 kB / 0.7851 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.759e-05/0.2438, allocations: 12.75 kB / 0.7851 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002156/0.244, allocations: 199.3 kB / 0.7853 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.224e-05/0.2441, allocations: 8.375 kB / 0.7853 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.2441, allocations: 4.375 kB / 0.7853 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.2443, allocations: 99.89 kB / 0.7854 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.2443, allocations: 7.938 kB / 0.7854 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.2443, allocations: 0 / 0.7854 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/0.2443, allocations: 4 kB / 0.7855 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.859e-05/0.2444, allocations: 39.92 kB / 0.7855 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005391/0.2449, allocations: 440.6 kB / 0.7859 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.216e-05/0.245, allocations: 45.19 kB / 0.786 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.215e-05/0.2451, allocations: 21.83 kB / 0.786 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.167e-05/0.2451, allocations: 3.938 kB / 0.786 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.2451, allocations: 30.56 kB / 0.786 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.453e-06/0.2451, allocations: 4 kB / 0.786 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002027/0.2454, allocations: 57.48 kB / 0.7861 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.187e-05/0.2454, allocations: 81.11 kB / 0.7861 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001671/0.2456, allocations: 177.4 kB / 0.7863 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.2456, allocations: 25.7 kB / 0.7863 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.411e-05/0.2457, allocations: 108 kB / 0.7864 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.142e-05/0.2457, allocations: 3.906 kB / 0.7864 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.647e-05/0.2458, allocations: 17.72 kB / 0.7865 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.2459, allocations: 327.1 kB / 0.7868 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.191e-05/0.2459, allocations: 4 kB / 0.7868 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.065e-05/0.246, allocations: 17.72 kB / 0.7868 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.466e-05/0.246, allocations: 33.66 kB / 0.7868 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.246, allocations: 0 / 0.7868 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.344e-05/0.2461, allocations: 57.53 kB / 0.7869 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.2462, allocations: 16 kB / 0.7869 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.2462, allocations: 0 / 0.7869 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.2462, allocations: 0 / 0.7869 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.574e-05/0.2463, allocations: 12 kB / 0.7869 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.2463, allocations: 0 / 0.7869 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.903e-05/0.2463, allocations: 7.891 kB / 0.7869 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.2464, allocations: 4 kB / 0.7869 GB, free: 9.602 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.927e-05/0.2465, allocations: 117.8 kB / 0.787 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.718e-05/0.2465, allocations: 11.84 kB / 0.787 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.864e-05/0.2466, allocations: 16.56 kB / 0.7871 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.2466, allocations: 0 / 0.7871 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.2466, allocations: 3.938 kB / 0.7871 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.2466, allocations: 0 / 0.7871 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004349/0.247, allocations: 482.7 kB / 0.7875 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.247, allocations: 0 / 0.7875 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.855e-05/0.2471, allocations: 4 kB / 0.7875 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.2471, allocations: 4.062 kB / 0.7875 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.2471, allocations: 0 / 0.7875 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.2471, allocations: 0 / 0.7875 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.231e-06/0.2471, allocations: 7.938 kB / 0.7875 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000112/0.2472, allocations: 85.77 kB / 0.7876 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.126e-05/0.2473, allocations: 96.98 kB / 0.7877 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/0.2473, allocations: 0 / 0.7877 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.84e-05/0.2474, allocations: 8.031 kB / 0.7877 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.752e-05/0.2474, allocations: 4 kB / 0.7877 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.2474, allocations: 4 kB / 0.7877 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001142/0.2475, allocations: 126.1 kB / 0.7878 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.41e-07/0.2475, allocations: 0 / 0.7878 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002044/0.2477, allocations: 8 kB / 0.7879 GB, free: 8.531 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004643/0.2482, allocations: 0.6209 MB / 0.7885 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001289/0.2483, allocations: 23.98 kB / 0.7885 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.2484, allocations: 0 / 0.7885 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.312e-05/0.2484, allocations: 7.938 kB / 0.7885 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001803/0.2486, allocations: 8 kB / 0.7885 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001417/0.25, allocations: 1.374 MB / 0.7898 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002218/0.2502, allocations: 0.6963 MB / 0.7905 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.567e-05/0.2503, allocations: 8.422 kB / 0.7905 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.628e-05/0.2503, allocations: 23.38 kB / 0.7906 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of SimCode: time 4.71e-07/0.2503, allocations: 0 / 0.7906 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01875/0.2691, allocations: 1.653 MB / 0.7922 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.592/7.861, allocations: 9.703 kB / 0.7922 GB, free: 4.039 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_psi.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1)