Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.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.0007551/0.0007551, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008023/0.0008023, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.9146/0.9146, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.813/1.813, allocations: 389 MB / 0.633 GB, free: 12.66 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.Density_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.9996 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.898e-05/2.039e-05, allocations: 2.281 kB / 0.9996 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.00209/0.00211, allocations: 1.498 MB / 1.001 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.5472/0.5493, allocations: 115.8 MB / 1.114 GB, free: 11.49 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.179e-05/0.5494, allocations: 8.594 kB / 1.114 GB, free: 11.48 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 4.623e-05/0.5495, allocations: 5.484 kB / 1.114 GB, free: 11.48 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 5.43e-05/0.5495, allocations: 10.05 kB / 1.114 GB, free: 11.47 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004034/0.5499, allocations: 70.66 kB / 1.114 GB, free: 11.44 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0001018/0.55, allocations: 60.64 kB / 1.114 GB, free: 11.41 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.5501, allocations: 9.703 kB / 1.114 GB, free: 11.41 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 7.008e-05/0.5502, allocations: 29.55 kB / 1.114 GB, free: 11.39 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.705e-05/0.5503, allocations: 21.14 kB / 1.114 GB, free: 11.39 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.779e-05/0.5503, allocations: 4.469 kB / 1.114 GB, free: 11.39 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.5504, allocations: 19.91 kB / 1.114 GB, free: 11.38 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 2.216e-05/0.5504, allocations: 7.875 kB / 1.114 GB, free: 11.38 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 2.972e-05/0.5504, allocations: 16.41 kB / 1.114 GB, free: 11.37 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001743/0.5506, allocations: 68.02 kB / 1.115 GB, free: 11.34 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.5506, allocations: 0 / 1.115 GB, free: 11.34 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.454e-06/0.5506, allocations: 1.125 kB / 1.115 GB, free: 11.34 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.5506, allocations: 0 / 1.115 GB, free: 11.34 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004475/0.5511, allocations: 301.5 kB / 1.115 GB, free: 11.06 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.822e-05/0.5511, allocations: 9.906 kB / 1.115 GB, free: 11.06 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.594e-05/0.5511, allocations: 36.7 kB / 1.115 GB, free: 11.02 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001327/0.5513, allocations: 15.42 kB / 1.115 GB, free: 11.01 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.949e-05/0.5513, allocations: 113.9 kB / 1.115 GB, free: 10.88 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.5513, allocations: 2.25 kB / 1.115 GB, free: 10.88 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.5514, allocations: 3.25 kB / 1.115 GB, free: 10.88 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001773/0.5515, allocations: 75.98 kB / 1.115 GB, free: 10.84 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.5515, allocations: 1.281 kB / 1.115 GB, free: 10.84 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.5516, allocations: 4.375 kB / 1.115 GB, free: 10.83 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.5516, allocations: 9.25 kB / 1.115 GB, free: 10.82 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001609/0.5517, allocations: 70.05 kB / 1.115 GB, free: 10.81 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003684/0.5521, allocations: 246.7 kB / 1.115 GB, free: 10.56 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001181/0.5522, allocations: 58.67 kB / 1.115 GB, free: 10.53 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.842e-05/0.5523, allocations: 41.88 kB / 1.115 GB, free: 10.51 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.147e-05/0.5523, allocations: 3.188 kB / 1.115 GB, free: 10.51 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.373e-05/0.5523, allocations: 36.52 kB / 1.116 GB, free: 10.47 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.5523, allocations: 1.531 kB / 1.116 GB, free: 10.47 MB / 0.9948 GB Notification: Performance of matching and sorting (n=3): time 0.0003098/0.5526, allocations: 133.1 kB / 1.116 GB, free: 10.42 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.235e-05/0.5526, allocations: 52.06 kB / 1.116 GB, free: 10.36 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.551e-05/0.5527, allocations: 117.3 kB / 1.116 GB, free: 10.25 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 5.43e-06/0.5527, allocations: 26.86 kB / 1.116 GB, free: 10.22 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 2.321e-05/0.5527, allocations: 87.28 kB / 1.116 GB, free: 10.13 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 1.642e-05/0.5527, allocations: 18.81 kB / 1.116 GB, free: 10.12 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.494e-05/0.5528, allocations: 12.72 kB / 1.116 GB, free: 10.1 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.82e-05/0.5528, allocations: 318.5 kB / 1.116 GB, free: 9.785 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.716e-05/0.5529, allocations: 31.2 kB / 1.116 GB, free: 9.781 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.885e-05/0.5529, allocations: 35.7 kB / 1.116 GB, free: 9.773 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001382/0.5531, allocations: 71.5 kB / 1.116 GB, free: 9.754 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.5531, allocations: 0 / 1.116 GB, free: 9.754 MB / 0.9948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001673/0.5532, allocations: 111.7 kB / 1.116 GB, free: 9.699 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.5533, allocations: 4.969 kB / 1.116 GB, free: 9.699 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.5533, allocations: 4.578 kB / 1.116 GB, free: 9.699 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.5533, allocations: 0.75 kB / 1.116 GB, free: 9.699 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.863e-05/0.5534, allocations: 15.34 kB / 1.117 GB, free: 9.699 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.5534, allocations: 0.75 kB / 1.117 GB, free: 9.699 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.815e-05/0.5534, allocations: 15.55 kB / 1.117 GB, free: 9.695 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.5534, allocations: 1.406 kB / 1.117 GB, free: 9.695 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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 4.06e-05/0.5534, allocations: 116.7 kB / 1.117 GB, free: 9.574 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.395e-05/0.5535, allocations: 10.94 kB / 1.117 GB, free: 9.566 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.206e-05/0.5535, allocations: 11.14 kB / 1.117 GB, free: 9.559 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.5535, allocations: 2.938 kB / 1.117 GB, free: 9.559 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.5535, allocations: 0.75 kB / 1.117 GB, free: 9.559 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.5535, allocations: 1.344 kB / 1.117 GB, free: 9.559 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.536e-05/0.5536, allocations: 139 kB / 1.117 GB, free: 9.395 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.5536, allocations: 0.6562 kB / 1.117 GB, free: 9.395 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.433e-05/0.5536, allocations: 16.17 kB / 1.117 GB, free: 9.395 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.5536, allocations: 0 / 1.117 GB, free: 9.395 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.533e-06/0.5536, allocations: 4 kB / 1.117 GB, free: 9.391 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.5536, allocations: 6 kB / 1.117 GB, free: 9.387 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.5536, allocations: 0 / 1.117 GB, free: 9.387 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002112/0.5538, allocations: 199.8 kB / 1.117 GB, free: 9.238 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.235e-05/0.5539, allocations: 2.891 kB / 1.117 GB, free: 9.238 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.304e-05/0.5539, allocations: 1.922 kB / 1.117 GB, free: 9.238 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.445e-05/0.5539, allocations: 15 kB / 1.117 GB, free: 9.234 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.845e-05/0.554, allocations: 7.969 kB / 1.117 GB, free: 9.23 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-06/0.554, allocations: 1.25 kB / 1.117 GB, free: 9.23 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 3.201e-05/0.554, allocations: 101.1 kB / 1.117 GB, free: 9.145 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.554, allocations: 0 / 1.117 GB, free: 9.145 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0001473/0.5542, allocations: 8.812 kB / 1.117 GB, free: 9.145 MB / 0.9948 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 (3): * Single equations (assignments): 3 * 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.0003326/0.5545, allocations: 0.732 MB / 1.118 GB, free: 8.465 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0002146/0.5547, allocations: 71.53 kB / 1.118 GB, free: 8.453 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.5547, allocations: 0 / 1.118 GB, free: 8.453 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 8.561e-05/0.5548, allocations: 34.52 kB / 1.118 GB, free: 8.449 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003188/0.5551, allocations: 19.47 kB / 1.118 GB, free: 8.441 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/0.5563, allocations: 1.42 MB / 1.119 GB, free: 7.211 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.214e-05/0.5563, allocations: 66.98 kB / 1.119 GB, free: 7.141 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 3.734e-05/0.5564, allocations: 6.016 kB / 1.119 GB, free: 7.137 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.474e-05/0.5564, allocations: 16.92 kB / 1.119 GB, free: 7.129 MB / 0.9948 GB Notification: Performance of SimCode: time 6.52e-07/0.5564, allocations: 0 / 1.119 GB, free: 7.129 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01625/0.5727, allocations: 2.728 MB / 1.122 GB, free: 6.188 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.001/7.573, allocations: 4.312 kB / 1.122 GB, free: 6.188 MB / 0.9948 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_Density_pTX.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_Density_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.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: 11.751342877745628]