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.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007263/0.007264, allocations: 100.8 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001921/0.001921, allocations: 194.8 kB / 16.68 MB, free: 5.969 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.412/1.412, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.757/2.757, allocations: 482.6 MB / 0.7551 GB, free: 6.625 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001848/0.001848, allocations: 68.33 kB / 1.083 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2887/0.2906, allocations: 162.3 MB / 1.242 GB, free: 8.914 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003083/0.2937, allocations: 1.911 MB / 1.244 GB, free: 6.992 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.1622/0.4559, allocations: 155.4 MB / 1.395 GB, free: 10.96 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.456, allocations: 4 kB / 1.395 GB, free: 10.95 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0001511/0.4562, allocations: 23.73 kB / 1.396 GB, free: 10.93 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.0002524/0.4565, allocations: 71.41 kB / 1.396 GB, free: 10.86 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.000592/0.4571, allocations: 259.1 kB / 1.396 GB, free: 10.61 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0002858/0.4574, allocations: 267.1 kB / 1.396 GB, free: 10.34 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001628/0.4575, allocations: 78.27 kB / 1.396 GB, free: 10.27 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001285/0.4588, allocations: 242.1 kB / 1.396 GB, free: 10.06 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001479/0.459, allocations: 107.5 kB / 1.396 GB, free: 9.953 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 3.578e-05/0.459, allocations: 16 kB / 1.397 GB, free: 9.938 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003332/0.4594, allocations: 179.8 kB / 1.397 GB, free: 9.762 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 6.247e-05/0.4595, allocations: 39.91 kB / 1.397 GB, free: 9.723 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0001062/0.4596, allocations: 95.5 kB / 1.397 GB, free: 9.629 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0004018/0.46, allocations: 282.9 kB / 1.397 GB, free: 9.352 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.46, allocations: 0 / 1.397 GB, free: 9.352 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.082e-06/0.46, allocations: 0 / 1.397 GB, free: 9.352 MB / 1.123 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.46, allocations: 0 / 1.397 GB, free: 9.352 MB / 1.123 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.0009044/0.4609, allocations: 0.5335 MB / 1.398 GB, free: 8.77 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.4609, allocations: 12.03 kB / 1.398 GB, free: 8.758 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.478e-05/0.461, allocations: 50.48 kB / 1.398 GB, free: 8.699 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007916/0.4618, allocations: 87.78 kB / 1.398 GB, free: 8.613 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002675/0.4621, allocations: 237.1 kB / 1.398 GB, free: 8.344 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.758e-05/0.4622, allocations: 38.03 kB / 1.398 GB, free: 8.301 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.282e-05/0.4622, allocations: 20 kB / 1.398 GB, free: 8.281 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005242/0.4627, allocations: 258.6 kB / 1.398 GB, free: 8 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.4628, allocations: 4 kB / 1.398 GB, free: 7.996 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/0.4628, allocations: 4 kB / 1.398 GB, free: 7.992 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.872e-06/0.4628, allocations: 4 kB / 1.398 GB, free: 7.988 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004471/0.4633, allocations: 171.8 kB / 1.398 GB, free: 7.82 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001605/0.4649, allocations: 1.173 MB / 1.4 GB, free: 6.57 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007466/0.4656, allocations: 214.6 kB / 1.4 GB, free: 6.352 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000182/0.4658, allocations: 68.81 kB / 1.4 GB, free: 6.281 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 2.699e-05/0.4659, allocations: 4 kB / 1.4 GB, free: 6.277 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.4659, allocations: 30.56 kB / 1.4 GB, free: 6.238 MB / 1.123 GB Notification: Performance of pre-optimization done (n=12): time 1.232e-06/0.4659, allocations: 0 / 1.4 GB, free: 6.238 MB / 1.123 GB Notification: Performance of matching and sorting (n=12): time 0.002654/0.4685, allocations: 0.6259 MB / 1.401 GB, free: 5.562 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/0.4686, allocations: 59.33 kB / 1.401 GB, free: 5.492 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000255/0.4689, allocations: 218.9 kB / 1.401 GB, free: 5.27 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 2.607e-05/0.4689, allocations: 29.7 kB / 1.401 GB, free: 5.234 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 9.819e-05/0.469, allocations: 140.2 kB / 1.401 GB, free: 5.094 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 4.155e-05/0.469, allocations: 43.62 kB / 1.401 GB, free: 5.051 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.138e-05/0.4691, allocations: 53.64 kB / 1.401 GB, free: 4.992 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.4693, allocations: 326.8 kB / 1.401 GB, free: 4.664 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002178/0.4695, allocations: 71.94 kB / 1.401 GB, free: 4.594 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002583/0.4698, allocations: 127.7 kB / 1.402 GB, free: 4.441 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004294/0.4702, allocations: 198.7 kB / 1.402 GB, free: 4.223 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.4702, allocations: 4 kB / 1.402 GB, free: 4.219 MB / 1.123 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001437/0.4717, allocations: 374.7 kB / 1.402 GB, free: 3.84 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.4717, allocations: 6.5 kB / 1.402 GB, free: 3.836 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.4717, allocations: 4 kB / 1.402 GB, free: 3.832 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00109/0.4728, allocations: 169.7 kB / 1.402 GB, free: 3.66 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002002/0.473, allocations: 31.97 kB / 1.402 GB, free: 3.629 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00395/0.477, allocations: 3.257 MB / 1.405 GB, free: 84 kB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003136/0.4773, allocations: 35.84 kB / 1.405 GB, free: 48 kB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.062e-05/0.4773, allocations: 4 kB / 1.406 GB, free: 44 kB / 1.123 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.0001494/0.4775, allocations: 146.2 kB / 1.406 GB, free: 15.89 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.348e-05/0.4775, allocations: 19.86 kB / 1.406 GB, free: 15.87 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00131/0.4789, allocations: 368.3 kB / 1.406 GB, free: 15.5 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.4789, allocations: 0 / 1.406 GB, free: 15.5 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-06/0.4789, allocations: 0 / 1.406 GB, free: 15.5 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.4789, allocations: 3.984 kB / 1.406 GB, free: 15.49 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003124/0.4792, allocations: 281.4 kB / 1.406 GB, free: 15.17 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.4792, allocations: 0 / 1.406 GB, free: 15.17 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001281/0.4793, allocations: 19.98 kB / 1.406 GB, free: 15.15 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008151/0.4802, allocations: 149.4 kB / 1.406 GB, free: 15 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.656e-05/0.4802, allocations: 8 kB / 1.406 GB, free: 14.99 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003662/0.4839, allocations: 3.293 MB / 1.41 GB, free: 11.41 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4839, allocations: 0 / 1.41 GB, free: 11.41 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00125/0.4851, allocations: 442.4 kB / 1.41 GB, free: 10.96 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000111/0.4853, allocations: 117 kB / 1.41 GB, free: 10.82 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.51e-05/0.4853, allocations: 8 kB / 1.41 GB, free: 10.82 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002696/0.4856, allocations: 12.11 kB / 1.41 GB, free: 10.8 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.981e-05/0.4857, allocations: 27.91 kB / 1.41 GB, free: 10.78 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.806e-05/0.4857, allocations: 11.98 kB / 1.41 GB, free: 10.77 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.000171/0.4859, allocations: 155.2 kB / 1.41 GB, free: 10.61 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4859, allocations: 0 / 1.41 GB, free: 10.61 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0003629/0.4862, allocations: 71.94 kB / 1.41 GB, free: 10.54 MB / 1.139 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.00161/0.4879, allocations: 0.9753 MB / 1.411 GB, free: 9.531 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001003/0.4889, allocations: 447.5 kB / 1.412 GB, free: 9.07 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4889, allocations: 4 kB / 1.412 GB, free: 9.066 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0006672/0.4896, allocations: 361.2 kB / 1.412 GB, free: 8.688 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003962/0.49, allocations: 56.28 kB / 1.412 GB, free: 8.633 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004937/0.4949, allocations: 2.533 MB / 1.415 GB, free: 5.957 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003342/0.4953, allocations: 0.7323 MB / 1.415 GB, free: 5.199 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0001549/0.4954, allocations: 41.92 kB / 1.415 GB, free: 5.16 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.984e-05/0.4955, allocations: 59.36 kB / 1.416 GB, free: 5.102 MB / 1.139 GB Notification: Performance of SimCode: time 2.4e-07/0.4955, allocations: 0 / 1.416 GB, free: 5.102 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4526/0.9481, allocations: 7.285 MB / 1.423 GB, free: 14.05 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.98/12.92, allocations: 19.36 kB / 1.423 GB, free: 14.04 MB / 1.154 GB (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 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches