Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",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.00126/0.00126, allocations: 108 kB / 15.61 MB, free: 148 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.001235/0.001235, allocations: 197.1 kB / 16.53 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.22/1.22, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.122/2.122, allocations: 390.2 MB / 0.6647 GB, free: 468 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 71.89 kB / 0.8126 GB, free: 14.39 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5816/0.5829, allocations: 140.4 MB / 0.9497 GB, free: 9.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002715/0.5857, allocations: 1.905 MB / 0.9516 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.149/0.7347, allocations: 155.4 MB / 1.103 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000168/0.7349, allocations: 4 kB / 1.103 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001618/0.7351, allocations: 27.67 kB / 1.103 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000298/0.7354, allocations: 79.41 kB / 1.103 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006414/0.7361, allocations: 255.2 kB / 1.104 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002858/0.7364, allocations: 271.1 kB / 1.104 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001787/0.7366, allocations: 68.67 kB / 1.104 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001143/0.7377, allocations: 243.5 kB / 1.104 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001507/0.7379, allocations: 95.59 kB / 1.104 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.863e-05/0.7379, allocations: 16 kB / 1.104 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003505/0.7383, allocations: 183.7 kB / 1.105 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.422e-05/0.7384, allocations: 35.91 kB / 1.105 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.36e-05/0.7385, allocations: 95.52 kB / 1.105 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003984/0.7389, allocations: 279.2 kB / 1.105 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.7389, allocations: 4 kB / 1.105 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.152e-06/0.7389, allocations: 4 kB / 1.105 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.624e-06/0.7389, allocations: 0 / 1.105 GB, free: 2.332 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0009664/0.7399, allocations: 0.5184 MB / 1.105 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.7399, allocations: 8.031 kB / 1.105 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.725e-05/0.74, allocations: 50.55 kB / 1.106 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008956/0.7409, allocations: 91.62 kB / 1.106 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002759/0.7412, allocations: 230.6 kB / 1.106 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001013/0.7413, allocations: 42.03 kB / 1.106 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.461e-05/0.7413, allocations: 12 kB / 1.106 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005178/0.7418, allocations: 274.5 kB / 1.106 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.7419, allocations: 3.938 kB / 1.106 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.761e-05/0.7419, allocations: 4 kB / 1.106 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.7419, allocations: 8 kB / 1.106 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004572/0.7424, allocations: 167.8 kB / 1.106 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001554/0.7439, allocations: 1.173 MB / 1.107 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007542/0.7447, allocations: 206.6 kB / 1.108 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001801/0.7449, allocations: 76.81 kB / 1.108 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.7449, allocations: 0 / 1.108 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/0.745, allocations: 34.56 kB / 1.108 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=12): time 1.062e-06/0.745, allocations: 0 / 1.108 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of matching and sorting (n=12): time 0.002657/0.7476, allocations: 0.6261 MB / 1.108 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/0.7477, allocations: 51.41 kB / 1.108 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000225/0.7479, allocations: 222.8 kB / 1.109 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.7479, allocations: 33.69 kB / 1.109 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 7.409e-05/0.748, allocations: 132.1 kB / 1.109 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.197e-05/0.7481, allocations: 51.34 kB / 1.109 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.549e-05/0.7482, allocations: 45.69 kB / 1.109 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 8.989e-05/0.7483, allocations: 326.8 kB / 1.109 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002251/0.7485, allocations: 71.95 kB / 1.109 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002597/0.7487, allocations: 128.2 kB / 1.109 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000417/0.7492, allocations: 209.8 kB / 1.11 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.7492, allocations: 4 kB / 1.11 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001461/0.7507, allocations: 370.9 kB / 1.11 GB, free: 12.83 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.7507, allocations: 8 kB / 1.11 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.7507, allocations: 0 / 1.11 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001082/0.7518, allocations: 161.6 kB / 1.11 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002193/0.752, allocations: 39.91 kB / 1.11 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003706/0.7557, allocations: 3.252 MB / 1.113 GB, free: 9.078 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003399/0.7561, allocations: 39.67 kB / 1.113 GB, free: 9.039 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.312e-05/0.7561, allocations: 12.05 kB / 1.113 GB, free: 9.027 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001202/0.7562, allocations: 130.9 kB / 1.113 GB, free: 8.891 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.009e-05/0.7563, allocations: 15.81 kB / 1.113 GB, free: 8.875 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001323/0.7576, allocations: 374 kB / 1.114 GB, free: 8.496 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.7577, allocations: 7.984 kB / 1.114 GB, free: 8.488 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.7577, allocations: 4 kB / 1.114 GB, free: 8.484 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.7577, allocations: 0 / 1.114 GB, free: 8.484 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002905/0.758, allocations: 285.2 kB / 1.114 GB, free: 8.156 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.758, allocations: 0 / 1.114 GB, free: 8.156 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001339/0.7581, allocations: 27.97 kB / 1.114 GB, free: 8.129 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008207/0.7589, allocations: 137.6 kB / 1.114 GB, free: 7.988 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.789e-05/0.759, allocations: 4 kB / 1.114 GB, free: 7.984 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003493/0.7625, allocations: 3.3 MB / 1.118 GB, free: 4.395 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.7625, allocations: 0 / 1.118 GB, free: 4.395 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001225/0.7637, allocations: 433.6 kB / 1.118 GB, free: 3.949 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.741e-05/0.7638, allocations: 116.7 kB / 1.118 GB, free: 3.816 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.414e-05/0.7639, allocations: 4 kB / 1.118 GB, free: 3.812 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002831/0.7642, allocations: 15.98 kB / 1.118 GB, free: 3.797 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.79e-05/0.7642, allocations: 19.97 kB / 1.118 GB, free: 3.777 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/0.7643, allocations: 8.188 kB / 1.118 GB, free: 3.77 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001633/0.7644, allocations: 159.2 kB / 1.118 GB, free: 3.613 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.382e-06/0.7644, allocations: 0 / 1.118 GB, free: 3.613 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003927/0.7648, allocations: 75.88 kB / 1.118 GB, free: 3.539 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001535/0.7664, allocations: 0.9765 MB / 1.119 GB, free: 2.531 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0009771/0.7674, allocations: 450 kB / 1.12 GB, free: 2.066 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/0.7674, allocations: 4.312 kB / 1.12 GB, free: 2.062 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0006458/0.768, allocations: 359 kB / 1.12 GB, free: 1.688 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004217/0.7685, allocations: 65.7 kB / 1.12 GB, free: 1.625 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004711/0.7732, allocations: 2.522 MB / 1.123 GB, free: 14.98 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003599/0.7736, allocations: 0.74 MB / 1.123 GB, free: 14.21 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0002201/0.7738, allocations: 37.94 kB / 1.123 GB, free: 14.17 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001068/0.7739, allocations: 51.41 kB / 1.123 GB, free: 14.12 MB / 0.8887 GB Notification: Performance of SimCode: time 7.71e-07/0.7739, allocations: 4 kB / 1.123 GB, free: 14.12 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02761/0.8015, allocations: 7.183 MB / 1.13 GB, free: 7.121 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.49/11.29, allocations: 5.828 kB / 1.13 GB, free: 7.117 MB / 0.8887 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches