Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008911/0.0008911, allocations: 76.44 kB / 19.17 MB, free: 0.7305 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008816/0.0008816, allocations: 169.9 kB / 22.46 MB, free: 2.094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9133/0.9133, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.821/1.821, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.386e-06/3.386e-06, allocations: 0 / 0.9996 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.782e-05/4.121e-05, allocations: 6.281 kB / 0.9996 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002893/0.002934, allocations: 1.857 MB / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.6262/0.6292, allocations: 136.7 MB / 1.135 GB, free: 13.86 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001411/0.6293, allocations: 2.25 kB / 1.135 GB, free: 13.86 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0001938/0.6295, allocations: 30.75 kB / 1.135 GB, free: 13.84 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.0003062/0.6298, allocations: 71.44 kB / 1.135 GB, free: 13.79 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007959/0.6306, allocations: 274.8 kB / 1.135 GB, free: 13.65 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0003688/0.631, allocations: 275.3 kB / 1.136 GB, free: 13.52 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001869/0.6312, allocations: 53.19 kB / 1.136 GB, free: 13.5 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00104/0.6322, allocations: 294.7 kB / 1.136 GB, free: 13.41 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001385/0.6324, allocations: 78.89 kB / 1.136 GB, free: 13.38 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 2.986e-05/0.6324, allocations: 14.69 kB / 1.136 GB, free: 13.38 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003336/0.6327, allocations: 175.2 kB / 1.136 GB, free: 13.34 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 7.219e-05/0.6328, allocations: 45.66 kB / 1.136 GB, free: 13.32 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 8.997e-05/0.6329, allocations: 67.56 kB / 1.136 GB, free: 13.29 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0004744/0.6334, allocations: 318.8 kB / 1.137 GB, free: 13.17 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.6334, allocations: 0 / 1.137 GB, free: 13.17 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.124e-06/0.6334, allocations: 0.5625 kB / 1.137 GB, free: 13.17 MB / 1.01 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.6334, allocations: 1.062 kB / 1.137 GB, free: 13.17 MB / 1.01 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.000793/0.6342, allocations: 470.7 kB / 1.137 GB, free: 12.8 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.6342, allocations: 9.688 kB / 1.137 GB, free: 12.8 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.755e-05/0.6342, allocations: 55.33 kB / 1.137 GB, free: 12.75 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006507/0.6349, allocations: 113.2 kB / 1.137 GB, free: 12.74 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002632/0.6352, allocations: 167.2 kB / 1.137 GB, free: 12.58 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.081e-05/0.6352, allocations: 72.08 kB / 1.137 GB, free: 12.51 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.785e-05/0.6353, allocations: 18.55 kB / 1.137 GB, free: 12.5 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004426/0.6357, allocations: 319.3 kB / 1.138 GB, free: 12.28 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.6357, allocations: 0 / 1.138 GB, free: 12.28 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.248e-05/0.6357, allocations: 6.469 kB / 1.138 GB, free: 12.28 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.908e-06/0.6358, allocations: 11.47 kB / 1.138 GB, free: 12.27 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003353/0.6361, allocations: 172.8 kB / 1.138 GB, free: 12.22 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001388/0.6375, allocations: 1.105 MB / 1.139 GB, free: 11.28 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004878/0.638, allocations: 196.8 kB / 1.139 GB, free: 11.21 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.6381, allocations: 74.98 kB / 1.139 GB, free: 11.18 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/0.6381, allocations: 3.781 kB / 1.139 GB, free: 11.18 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.6381, allocations: 31.94 kB / 1.139 GB, free: 11.14 MB / 1.01 GB Notification: Performance of pre-optimization done (n=12): time 1.292e-06/0.6381, allocations: 0 / 1.139 GB, free: 11.14 MB / 1.01 GB Notification: Performance of matching and sorting (n=12): time 0.001443/0.6396, allocations: 493.9 kB / 1.14 GB, free: 10.99 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/0.6396, allocations: 53.59 kB / 1.14 GB, free: 10.93 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002255/0.6398, allocations: 219 kB / 1.14 GB, free: 10.79 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.19e-05/0.6398, allocations: 35.91 kB / 1.14 GB, free: 10.75 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 7.526e-05/0.6399, allocations: 141.7 kB / 1.14 GB, free: 10.62 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 2.982e-05/0.64, allocations: 44.95 kB / 1.14 GB, free: 10.59 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.43e-05/0.64, allocations: 49.44 kB / 1.14 GB, free: 10.55 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 8.94e-05/0.6401, allocations: 332 kB / 1.141 GB, free: 10.23 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/0.6403, allocations: 70.27 kB / 1.141 GB, free: 10.21 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001831/0.6404, allocations: 155.2 kB / 1.141 GB, free: 10.09 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002736/0.6407, allocations: 203.7 kB / 1.141 GB, free: 9.965 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.6407, allocations: 3.078 kB / 1.141 GB, free: 9.965 MB / 1.01 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008126/0.6415, allocations: 373.5 kB / 1.141 GB, free: 9.828 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.6415, allocations: 5.5 kB / 1.141 GB, free: 9.828 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.6416, allocations: 5.922 kB / 1.141 GB, free: 9.824 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005592/0.6421, allocations: 163.9 kB / 1.142 GB, free: 9.789 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.6422, allocations: 38.97 kB / 1.142 GB, free: 9.785 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00252/0.6447, allocations: 3.031 MB / 1.145 GB, free: 7.02 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001737/0.6449, allocations: 40.09 kB / 1.145 GB, free: 7 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.013e-05/0.6449, allocations: 9.203 kB / 1.145 GB, free: 7 MB / 1.01 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.0001082/0.645, allocations: 127.6 kB / 1.145 GB, free: 6.875 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.562e-05/0.6451, allocations: 16.62 kB / 1.145 GB, free: 6.867 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007272/0.6458, allocations: 381.9 kB / 1.145 GB, free: 6.711 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.6458, allocations: 2.344 kB / 1.145 GB, free: 6.711 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.6458, allocations: 2.625 kB / 1.145 GB, free: 6.711 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.6458, allocations: 6.234 kB / 1.145 GB, free: 6.707 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002354/0.6461, allocations: 217 kB / 1.145 GB, free: 6.516 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.6461, allocations: 1.312 kB / 1.145 GB, free: 6.516 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.986e-05/0.6461, allocations: 24.5 kB / 1.145 GB, free: 6.512 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003998/0.6465, allocations: 144.8 kB / 1.145 GB, free: 6.473 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.6465, allocations: 0.8438 kB / 1.145 GB, free: 6.473 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002218/0.6488, allocations: 3.074 MB / 1.148 GB, free: 3.691 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.6488, allocations: 5.641 kB / 1.149 GB, free: 3.688 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007076/0.6495, allocations: 435.8 kB / 1.149 GB, free: 3.453 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 7.059e-05/0.6495, allocations: 33.38 kB / 1.149 GB, free: 3.438 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/0.6496, allocations: 2.047 kB / 1.149 GB, free: 3.438 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.6497, allocations: 18.67 kB / 1.149 GB, free: 3.43 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.483e-05/0.6498, allocations: 20.77 kB / 1.149 GB, free: 3.426 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.6498, allocations: 4.297 kB / 1.149 GB, free: 3.426 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001336/0.6499, allocations: 169.7 kB / 1.149 GB, free: 3.316 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.6499, allocations: 0 / 1.149 GB, free: 3.316 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0003161/0.6502, allocations: 70.73 kB / 1.149 GB, free: 3.305 MB / 1.01 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.0009469/0.6512, allocations: 0.9686 MB / 1.15 GB, free: 2.547 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0006542/0.6518, allocations: 446.1 kB / 1.151 GB, free: 2.258 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.6518, allocations: 4.938 kB / 1.151 GB, free: 2.254 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0003924/0.6522, allocations: 346.3 kB / 1.151 GB, free: 1.996 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003017/0.6525, allocations: 57.61 kB / 1.151 GB, free: 1.977 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003344/0.6559, allocations: 2.531 MB / 1.153 GB, free: 260 kB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001238/0.656, allocations: 124.4 kB / 1.154 GB, free: 184 kB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0001419/0.6561, allocations: 37.12 kB / 1.154 GB, free: 168 kB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.328e-05/0.6562, allocations: 58.66 kB / 1.154 GB, free: 128 kB / 1.01 GB Notification: Performance of SimCode: time 5.21e-07/0.6562, allocations: 0 / 1.154 GB, free: 128 kB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02649/0.6827, allocations: 8.157 MB / 1.162 GB, free: 14.69 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.911/8.593, allocations: 2.344 kB / 1.162 GB, free: 14.69 MB / 1.026 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.800373681820929]