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.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.00174/0.00174, allocations: 111.6 kB / 16.46 MB, free: 6.035 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.002176/0.002176, allocations: 192.5 kB / 19.41 MB, free: 3.539 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.476/1.476, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.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 3.323/3.323, allocations: 497.2 MB / 0.7811 GB, free: 33.71 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.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 0.001877/0.001877, allocations: 68.28 kB / 1.134 GB, free: 33.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3629/0.3648, allocations: 173.9 MB / 1.304 GB, free: 1.551 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.003259/0.3681, allocations: 1.507 MB / 1.305 GB, free: 36 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1635/0.5316, allocations: 132.5 MB / 1.435 GB, free: 11.07 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.867e-05/0.5317, allocations: 0 / 1.435 GB, free: 11.07 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 4.308e-05/0.5317, allocations: 7.938 kB / 1.435 GB, free: 11.07 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 8.409e-05/0.5318, allocations: 7.922 kB / 1.435 GB, free: 11.06 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003963/0.5322, allocations: 71.88 kB / 1.435 GB, free: 10.99 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.000125/0.5323, allocations: 51.84 kB / 1.435 GB, free: 10.94 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 9.316e-05/0.5324, allocations: 15.97 kB / 1.435 GB, free: 10.92 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 6.354e-05/0.5325, allocations: 27.92 kB / 1.435 GB, free: 10.89 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 5.188e-05/0.5325, allocations: 19.86 kB / 1.435 GB, free: 10.88 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 1.968e-05/0.5326, allocations: 8 kB / 1.435 GB, free: 10.87 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 9.203e-05/0.5327, allocations: 19.92 kB / 1.435 GB, free: 10.85 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 1.773e-05/0.5327, allocations: 8 kB / 1.435 GB, free: 10.84 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 4.492e-05/0.5327, allocations: 23.86 kB / 1.435 GB, free: 10.82 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.00016/0.5329, allocations: 63.73 kB / 1.435 GB, free: 10.75 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.5329, allocations: 0 / 1.435 GB, free: 10.75 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.303e-06/0.5329, allocations: 0 / 1.435 GB, free: 10.75 MB / 1.139 GB Notification: Performance of Transformations before backend: time 9.438e-06/0.5329, allocations: 0 / 1.435 GB, free: 10.75 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006102/0.5335, allocations: 379.2 kB / 1.435 GB, free: 10.33 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.5335, allocations: 8.625 kB / 1.435 GB, free: 10.32 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.972e-05/0.5336, allocations: 34.73 kB / 1.435 GB, free: 10.28 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.849e-05/0.5336, allocations: 8.891 kB / 1.435 GB, free: 10.27 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/0.5338, allocations: 168.3 kB / 1.436 GB, free: 10.07 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.5338, allocations: 384 / 1.436 GB, free: 10.07 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.959e-05/0.5338, allocations: 12.36 kB / 1.436 GB, free: 10.06 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000271/0.5341, allocations: 82.14 kB / 1.436 GB, free: 9.973 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.5341, allocations: 3.938 kB / 1.436 GB, free: 9.969 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.5341, allocations: 0 / 1.436 GB, free: 9.969 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.5341, allocations: 0 / 1.436 GB, free: 9.969 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002819/0.5344, allocations: 67.92 kB / 1.436 GB, free: 9.902 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004428/0.5348, allocations: 292.7 kB / 1.436 GB, free: 9.566 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002068/0.535, allocations: 54.48 kB / 1.436 GB, free: 9.504 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001491/0.5352, allocations: 36.91 kB / 1.436 GB, free: 9.465 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001771/0.5354, allocations: 93.09 kB / 1.436 GB, free: 9.355 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.213e-05/0.5354, allocations: 38.56 kB / 1.436 GB, free: 9.309 MB / 1.139 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.5354, allocations: 0 / 1.436 GB, free: 9.309 MB / 1.139 GB Notification: Performance of matching and sorting (n=3): time 0.0005388/0.536, allocations: 129.5 kB / 1.436 GB, free: 9.176 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/0.536, allocations: 51.41 kB / 1.436 GB, free: 9.113 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/0.5361, allocations: 129.8 kB / 1.437 GB, free: 8.977 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.5362, allocations: 25.7 kB / 1.437 GB, free: 8.945 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 5.926e-05/0.5362, allocations: 84.14 kB / 1.437 GB, free: 8.859 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 2.097e-05/0.5362, allocations: 11.91 kB / 1.437 GB, free: 8.848 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.15e-05/0.5363, allocations: 13.72 kB / 1.437 GB, free: 8.828 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.5364, allocations: 322.8 kB / 1.437 GB, free: 8.504 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001407/0.5366, allocations: 27.97 kB / 1.437 GB, free: 8.477 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001304/0.5367, allocations: 39.95 kB / 1.437 GB, free: 8.438 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002581/0.537, allocations: 68.72 kB / 1.437 GB, free: 8.367 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.537, allocations: 0 / 1.437 GB, free: 8.367 MB / 1.139 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003149/0.5373, allocations: 105.6 kB / 1.437 GB, free: 8.258 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.5373, allocations: 4 kB / 1.437 GB, free: 8.254 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.5373, allocations: 0 / 1.437 GB, free: 8.254 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.5373, allocations: 0 / 1.437 GB, free: 8.254 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.5374, allocations: 19.98 kB / 1.437 GB, free: 8.234 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.5374, allocations: 3.984 kB / 1.437 GB, free: 8.23 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.922e-05/0.5375, allocations: 15.97 kB / 1.437 GB, free: 8.215 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.523e-06/0.5375, allocations: 4 kB / 1.437 GB, free: 8.211 MB / 1.139 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 9.299e-05/0.5376, allocations: 117.8 kB / 1.437 GB, free: 8.086 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.715e-05/0.5376, allocations: 3.953 kB / 1.437 GB, free: 8.082 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003534/0.538, allocations: 105.5 kB / 1.438 GB, free: 7.965 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.538, allocations: 384 / 1.438 GB, free: 7.965 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.538, allocations: 3.938 kB / 1.438 GB, free: 7.961 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.538, allocations: 4 kB / 1.438 GB, free: 7.957 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001998/0.5382, allocations: 181.5 kB / 1.438 GB, free: 7.73 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.5382, allocations: 3.984 kB / 1.438 GB, free: 7.727 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.804e-05/0.5383, allocations: 11.98 kB / 1.438 GB, free: 7.715 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.5383, allocations: 4 kB / 1.438 GB, free: 7.711 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.5383, allocations: 4 kB / 1.438 GB, free: 7.707 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.5383, allocations: 0 / 1.438 GB, free: 7.707 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.5383, allocations: 0 / 1.438 GB, free: 7.707 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003669/0.5387, allocations: 203.4 kB / 1.438 GB, free: 7.492 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 7.64e-05/0.5387, allocations: 85.05 kB / 1.438 GB, free: 7.391 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.5388, allocations: 0 / 1.438 GB, free: 7.391 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.5389, allocations: 15.98 kB / 1.438 GB, free: 7.375 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.299e-05/0.5389, allocations: 3.984 kB / 1.438 GB, free: 7.371 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.5389, allocations: 4 kB / 1.438 GB, free: 7.367 MB / 1.139 GB Notification: Performance of sorting global known variables: time 6.15e-05/0.539, allocations: 95.27 kB / 1.438 GB, free: 7.273 MB / 1.139 GB Notification: Performance of sort global known variables: time 8e-08/0.539, allocations: 3.938 kB / 1.438 GB, free: 7.27 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0002305/0.5392, allocations: 12 kB / 1.438 GB, free: 7.258 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 (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.0007565/0.54, allocations: 0.7435 MB / 1.439 GB, free: 6.488 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.000322/0.5403, allocations: 67.92 kB / 1.439 GB, free: 6.422 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.5403, allocations: 0 / 1.439 GB, free: 6.422 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0001483/0.5404, allocations: 43.89 kB / 1.439 GB, free: 6.379 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003224/0.5408, allocations: 8.766 kB / 1.439 GB, free: 6.371 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00195/0.5427, allocations: 1.415 MB / 1.44 GB, free: 4.875 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003307/0.543, allocations: 0.6807 MB / 1.441 GB, free: 4.168 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 3.651e-05/0.5431, allocations: 0 / 1.441 GB, free: 4.168 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.663e-05/0.5431, allocations: 23.42 kB / 1.441 GB, free: 4.145 MB / 1.139 GB Notification: Performance of SimCode: time 3.81e-07/0.5431, allocations: 0 / 1.441 GB, free: 4.145 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02726/0.5704, allocations: 2.087 MB / 1.443 GB, free: 2.168 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.164/8.734, allocations: 21 kB / 1.443 GB, free: 2.156 MB / 1.139 GB " [Timeout remaining time 291] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 15.700210393872112]