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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 104.9 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 225.6 MB / 247.8 MB, free: 3.754 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.891/2.891, allocations: 497.2 MB / 0.7812 GB, free: 11.98 MB / 0.6231 GB " [Timeout remaining time 176] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 71.89 kB / 1.134 GB, free: 11.06 MB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9918/0.9937, allocations: 173.9 MB / 1.304 GB, free: 15.66 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003365/0.9971, allocations: 1.934 MB / 1.306 GB, free: 14.31 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.2045/1.202, allocations: 155.9 MB / 1.458 GB, free: 6.488 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002055/1.202, allocations: 0 / 1.458 GB, free: 6.488 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0002108/1.202, allocations: 27.67 kB / 1.458 GB, free: 6.461 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.0003199/1.202, allocations: 79.42 kB / 1.458 GB, free: 6.383 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007963/1.203, allocations: 258.1 kB / 1.458 GB, free: 6.133 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0003426/1.204, allocations: 271.1 kB / 1.459 GB, free: 5.867 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001754/1.204, allocations: 46.42 kB / 1.459 GB, free: 5.82 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001506/1.205, allocations: 256.1 kB / 1.459 GB, free: 5.594 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001625/1.205, allocations: 95.59 kB / 1.459 GB, free: 5.5 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 3.856e-05/1.205, allocations: 16 kB / 1.459 GB, free: 5.484 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003683/1.206, allocations: 183.7 kB / 1.459 GB, free: 5.305 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 6.338e-05/1.206, allocations: 43.89 kB / 1.459 GB, free: 5.262 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001103/1.206, allocations: 91.52 kB / 1.459 GB, free: 5.172 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0004609/1.206, allocations: 294.8 kB / 1.46 GB, free: 4.883 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/1.206, allocations: 0 / 1.46 GB, free: 4.883 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.292e-06/1.206, allocations: 0 / 1.46 GB, free: 4.883 MB / 1.139 GB Notification: Performance of Transformations before backend: time 5.881e-06/1.206, allocations: 0 / 1.46 GB, free: 4.883 MB / 1.139 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.001049/1.207, allocations: 0.5374 MB / 1.46 GB, free: 4.297 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/1.208, allocations: 8.031 kB / 1.46 GB, free: 4.289 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.673e-05/1.208, allocations: 46.55 kB / 1.46 GB, free: 4.234 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008589/1.208, allocations: 91.78 kB / 1.46 GB, free: 4.145 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003471/1.209, allocations: 235.6 kB / 1.461 GB, free: 3.875 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.755e-05/1.209, allocations: 38.03 kB / 1.461 GB, free: 3.832 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.724e-05/1.209, allocations: 16 kB / 1.461 GB, free: 3.816 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000586/1.209, allocations: 262.6 kB / 1.461 GB, free: 3.531 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/1.21, allocations: 3.938 kB / 1.461 GB, free: 3.527 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.706e-05/1.21, allocations: 4 kB / 1.461 GB, free: 3.523 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/1.21, allocations: 8 kB / 1.461 GB, free: 3.516 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000468/1.21, allocations: 171.8 kB / 1.461 GB, free: 3.348 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001862/1.212, allocations: 1.173 MB / 1.462 GB, free: 2.098 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007733/1.213, allocations: 202.6 kB / 1.462 GB, free: 1.891 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001725/1.213, allocations: 68.75 kB / 1.462 GB, free: 1.82 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 2.499e-05/1.213, allocations: 7.984 kB / 1.462 GB, free: 1.812 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/1.213, allocations: 34.56 kB / 1.462 GB, free: 1.77 MB / 1.139 GB Notification: Performance of pre-optimization done (n=12): time 1.543e-06/1.213, allocations: 0 / 1.462 GB, free: 1.77 MB / 1.139 GB Notification: Performance of matching and sorting (n=12): time 0.002726/1.216, allocations: 0.6181 MB / 1.463 GB, free: 1.102 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.588e-05/1.216, allocations: 63.39 kB / 1.463 GB, free: 1.027 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000284/1.216, allocations: 218.7 kB / 1.463 GB, free: 0.8047 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 3.956e-05/1.216, allocations: 29.7 kB / 1.463 GB, free: 0.7695 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/1.216, allocations: 140.2 kB / 1.464 GB, free: 0.6289 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 4.578e-05/1.216, allocations: 43.64 kB / 1.464 GB, free: 0.5859 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/1.216, allocations: 49.64 kB / 1.464 GB, free: 0.5312 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001552/1.216, allocations: 330.8 kB / 1.464 GB, free: 204 kB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000213/1.217, allocations: 71.94 kB / 1.464 GB, free: 132 kB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002774/1.217, allocations: 133.3 kB / 1.464 GB, free: 15.97 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000428/1.217, allocations: 198.7 kB / 1.464 GB, free: 15.75 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/1.217, allocations: 0 / 1.464 GB, free: 15.75 MB / 1.154 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00145/1.219, allocations: 374.6 kB / 1.465 GB, free: 15.38 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/1.219, allocations: 8 kB / 1.465 GB, free: 15.37 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/1.219, allocations: 0 / 1.465 GB, free: 15.37 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001093/1.22, allocations: 157.6 kB / 1.465 GB, free: 15.21 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000229/1.22, allocations: 47.91 kB / 1.465 GB, free: 15.16 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004476/1.225, allocations: 3.247 MB / 1.468 GB, free: 11.63 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003717/1.225, allocations: 39.88 kB / 1.468 GB, free: 11.59 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.243e-05/1.225, allocations: 8 kB / 1.468 GB, free: 11.58 MB / 1.154 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.0001567/1.225, allocations: 137.6 kB / 1.468 GB, free: 11.44 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.809e-05/1.225, allocations: 15.91 kB / 1.468 GB, free: 11.42 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001342/1.227, allocations: 378.1 kB / 1.469 GB, free: 11.04 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/1.227, allocations: 0 / 1.469 GB, free: 11.04 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/1.227, allocations: 0 / 1.469 GB, free: 11.04 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/1.227, allocations: 7.984 kB / 1.469 GB, free: 11.03 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003777/1.227, allocations: 281.4 kB / 1.469 GB, free: 10.7 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/1.227, allocations: 0 / 1.469 GB, free: 10.7 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001351/1.227, allocations: 19.98 kB / 1.469 GB, free: 10.68 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008284/1.228, allocations: 141.5 kB / 1.469 GB, free: 10.54 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.053e-05/1.228, allocations: 7.984 kB / 1.469 GB, free: 10.53 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004136/1.232, allocations: 3.301 MB / 1.472 GB, free: 6.945 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/1.232, allocations: 0 / 1.472 GB, free: 6.945 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001312/1.233, allocations: 432.7 kB / 1.473 GB, free: 6.5 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001523/1.234, allocations: 112.9 kB / 1.473 GB, free: 6.371 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.43e-05/1.234, allocations: 4 kB / 1.473 GB, free: 6.367 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002818/1.234, allocations: 15.98 kB / 1.473 GB, free: 6.352 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.85e-05/1.234, allocations: 11.98 kB / 1.473 GB, free: 6.34 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.08e-05/1.234, allocations: 11.98 kB / 1.473 GB, free: 6.328 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0002075/1.234, allocations: 159.2 kB / 1.473 GB, free: 6.172 MB / 1.154 GB Notification: Performance of sort global known variables: time 1e-07/1.234, allocations: 7.938 kB / 1.473 GB, free: 6.164 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.00044/1.235, allocations: 71.89 kB / 1.473 GB, free: 6.094 MB / 1.154 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.0017/1.236, allocations: 0.9754 MB / 1.474 GB, free: 5.086 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001061/1.237, allocations: 439.8 kB / 1.474 GB, free: 4.633 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/1.237, allocations: 0 / 1.474 GB, free: 4.633 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0007145/1.238, allocations: 365.1 kB / 1.475 GB, free: 4.25 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004521/1.239, allocations: 64.05 kB / 1.475 GB, free: 4.188 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00517/1.244, allocations: 2.516 MB / 1.477 GB, free: 1.535 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004615/1.244, allocations: 0.7402 MB / 1.478 GB, free: 0.7695 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0001765/1.244, allocations: 37.88 kB / 1.478 GB, free: 0.7344 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.501e-05/1.244, allocations: 51.42 kB / 1.478 GB, free: 0.6836 MB / 1.154 GB Notification: Performance of SimCode: time 5.51e-07/1.244, allocations: 0 / 1.478 GB, free: 0.6836 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03949/1.284, allocations: 7.327 MB / 1.485 GB, free: 9.59 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.13/13.41, allocations: 2.188 kB / 1.485 GB, free: 9.59 MB / 1.17 GB " [Timeout remaining time 286] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 19.716042453888804]