Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008391/0.0008391, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008614/0.0008614, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8735/0.8735, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.752/1.752, allocations: 377.8 MB / 0.6221 GB, free: 8.656 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.9809 GB, free: 2.578 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.825e-05/1.985e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.574 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.00191/0.001929, allocations: 1.509 MB / 0.9824 GB, free: 1.059 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.5337/0.5356, allocations: 115.8 MB / 1.096 GB, free: 33.16 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.097e-05/0.5357, allocations: 2.438 kB / 1.096 GB, free: 33.16 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 3.524e-05/0.5357, allocations: 11.06 kB / 1.096 GB, free: 33.16 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 5.412e-05/0.5358, allocations: 7.875 kB / 1.096 GB, free: 33.15 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003971/0.5362, allocations: 65.39 kB / 1.096 GB, free: 33.12 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 8.684e-05/0.5362, allocations: 53.72 kB / 1.096 GB, free: 33.09 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.5363, allocations: 9.953 kB / 1.096 GB, free: 33.09 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 6.368e-05/0.5364, allocations: 36.78 kB / 1.096 GB, free: 33.07 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.052e-05/0.5364, allocations: 19.08 kB / 1.096 GB, free: 33.06 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.818e-05/0.5365, allocations: 5.188 kB / 1.096 GB, free: 33.06 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 9.632e-05/0.5366, allocations: 25.72 kB / 1.096 GB, free: 33.05 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 1.74e-05/0.5366, allocations: 9.969 kB / 1.096 GB, free: 33.05 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 2.308e-05/0.5366, allocations: 9.312 kB / 1.096 GB, free: 33.04 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001563/0.5368, allocations: 67.94 kB / 1.096 GB, free: 33.02 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.5368, allocations: 0 / 1.096 GB, free: 33.02 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.343e-06/0.5368, allocations: 0 / 1.096 GB, free: 33.02 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.5368, allocations: 0 / 1.096 GB, free: 33.02 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.000381/0.5372, allocations: 300.7 kB / 1.096 GB, free: 32.74 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.5372, allocations: 7.719 kB / 1.096 GB, free: 32.74 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.584e-05/0.5372, allocations: 36.31 kB / 1.096 GB, free: 32.7 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.617e-05/0.5372, allocations: 7.359 kB / 1.096 GB, free: 32.7 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.187e-05/0.5373, allocations: 116.5 kB / 1.096 GB, free: 32.56 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.5373, allocations: 6.75 kB / 1.096 GB, free: 32.56 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.398e-06/0.5373, allocations: 7.422 kB / 1.096 GB, free: 32.56 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.5375, allocations: 80.95 kB / 1.096 GB, free: 32.52 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.5375, allocations: 8.125 kB / 1.096 GB, free: 32.51 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/0.5375, allocations: 384 / 1.096 GB, free: 32.51 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.5375, allocations: 4.125 kB / 1.096 GB, free: 32.5 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001428/0.5377, allocations: 68.55 kB / 1.096 GB, free: 32.49 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002931/0.5379, allocations: 248 kB / 1.097 GB, free: 32.24 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001225/0.5381, allocations: 63.41 kB / 1.097 GB, free: 32.2 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.286e-05/0.5381, allocations: 34.73 kB / 1.097 GB, free: 32.19 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000111/0.5383, allocations: 13.58 kB / 1.097 GB, free: 32.19 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.457e-05/0.5383, allocations: 37.42 kB / 1.097 GB, free: 32.14 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.5383, allocations: 0 / 1.097 GB, free: 32.14 MB / 0.9948 GB Notification: Performance of matching and sorting (n=3): time 0.0003071/0.5386, allocations: 129.9 kB / 1.097 GB, free: 32.1 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.057e-05/0.5386, allocations: 55.34 kB / 1.097 GB, free: 32.03 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.61e-05/0.5387, allocations: 117.9 kB / 1.097 GB, free: 31.93 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 6.012e-06/0.5387, allocations: 28.33 kB / 1.097 GB, free: 31.89 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 2.586e-05/0.5387, allocations: 90.66 kB / 1.097 GB, free: 31.8 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 1.741e-05/0.5387, allocations: 11.27 kB / 1.097 GB, free: 31.8 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-05/0.5387, allocations: 16.44 kB / 1.097 GB, free: 31.78 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.182e-05/0.5388, allocations: 313.2 kB / 1.098 GB, free: 31.46 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.782e-05/0.5388, allocations: 35.22 kB / 1.098 GB, free: 31.46 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.495e-05/0.5389, allocations: 32.12 kB / 1.098 GB, free: 31.45 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/0.539, allocations: 68.14 kB / 1.098 GB, free: 31.44 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.539, allocations: 0 / 1.098 GB, free: 31.44 MB / 0.9948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001582/0.5392, allocations: 108.5 kB / 1.098 GB, free: 31.38 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.5392, allocations: 8.547 kB / 1.098 GB, free: 31.38 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.5392, allocations: 0 / 1.098 GB, free: 31.38 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.5392, allocations: 2.875 kB / 1.098 GB, free: 31.38 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.596e-05/0.5393, allocations: 13.47 kB / 1.098 GB, free: 31.38 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.5393, allocations: 0 / 1.098 GB, free: 31.38 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.011e-05/0.5394, allocations: 22.25 kB / 1.098 GB, free: 31.38 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.974e-06/0.5394, allocations: 0 / 1.098 GB, free: 31.38 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.175e-05/0.5394, allocations: 108.4 kB / 1.098 GB, free: 31.26 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.455e-05/0.5394, allocations: 10.7 kB / 1.098 GB, free: 31.25 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002004/0.5396, allocations: 108.6 kB / 1.098 GB, free: 31.21 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.5396, allocations: 4.312 kB / 1.098 GB, free: 31.2 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.5396, allocations: 0 / 1.098 GB, free: 31.2 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.5396, allocations: 4 kB / 1.098 GB, free: 31.2 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.45e-05/0.5397, allocations: 141.6 kB / 1.098 GB, free: 31.04 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.5397, allocations: 3.984 kB / 1.098 GB, free: 31.03 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.213e-05/0.5398, allocations: 18.22 kB / 1.098 GB, free: 31.03 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.5398, allocations: 0 / 1.098 GB, free: 31.03 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.5398, allocations: 2.25 kB / 1.098 GB, free: 31.03 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.5398, allocations: 1.062 kB / 1.098 GB, free: 31.03 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.5398, allocations: 0 / 1.098 GB, free: 31.03 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001705/0.54, allocations: 201.4 kB / 1.098 GB, free: 30.88 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.047e-05/0.54, allocations: 6.484 kB / 1.098 GB, free: 30.88 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.185e-05/0.54, allocations: 0 / 1.098 GB, free: 30.88 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.13e-05/0.54, allocations: 14.31 kB / 1.098 GB, free: 30.88 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.844e-05/0.5401, allocations: 5.734 kB / 1.098 GB, free: 30.88 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.5401, allocations: 0 / 1.098 GB, free: 30.88 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 2.203e-05/0.5401, allocations: 96.45 kB / 1.099 GB, free: 30.79 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.5401, allocations: 2.562 kB / 1.099 GB, free: 30.79 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0001626/0.5403, allocations: 15 kB / 1.099 GB, free: 30.79 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.0003552/0.5406, allocations: 0.7449 MB / 1.099 GB, free: 30.11 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0002076/0.5408, allocations: 68.8 kB / 1.099 GB, free: 30.1 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.5408, allocations: 4.594 kB / 1.099 GB, free: 30.09 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 8.023e-05/0.5409, allocations: 35.14 kB / 1.099 GB, free: 30.09 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002636/0.5412, allocations: 15.58 kB / 1.099 GB, free: 30.09 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.5422, allocations: 1.419 MB / 1.101 GB, free: 28.86 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.171e-05/0.5423, allocations: 64.22 kB / 1.101 GB, free: 28.79 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 3.3e-05/0.5423, allocations: 9.484 kB / 1.101 GB, free: 28.79 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.171e-05/0.5423, allocations: 19.12 kB / 1.101 GB, free: 28.77 MB / 0.9948 GB Notification: Performance of SimCode: time 4.91e-07/0.5423, allocations: 0.5 kB / 1.101 GB, free: 28.77 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0216/0.5639, allocations: 2.832 MB / 1.104 GB, free: 27.82 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.984/7.548, allocations: 16.8 kB / 1.104 GB, free: 27.81 MB / 0.9948 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Psychrometrics_Examples_Density_pTX.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_Density_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.48944220598787]