Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Functions.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.001304/0.001304, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 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.001461/0.001461, allocations: 214.9 kB / 22.25 MB, free: 5.121 MB / 14.72 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 1.554/1.554, allocations: 230.6 MB / 256 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.919/2.919, allocations: 476.7 MB / 0.7707 GB, free: 4.258 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002095/0.002095, allocations: 64.61 kB / 1.117 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3652/0.3673, allocations: 170 MB / 1.283 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002789/0.3701, allocations: 1.3 MB / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1687/0.5388, allocations: 135.2 MB / 1.417 GB, free: 2.652 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.642e-05/0.5389, allocations: 0 / 1.417 GB, free: 2.652 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 2.582e-05/0.5389, allocations: 0 / 1.417 GB, free: 2.652 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 5.963e-05/0.5389, allocations: 7.938 kB / 1.417 GB, free: 2.645 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004314/0.5394, allocations: 63.5 kB / 1.417 GB, free: 2.586 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0001133/0.5395, allocations: 23.86 kB / 1.417 GB, free: 2.562 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 4.966e-05/0.5395, allocations: 4 kB / 1.417 GB, free: 2.559 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 4.554e-05/0.5396, allocations: 7.828 kB / 1.417 GB, free: 2.555 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 8.085e-05/0.5397, allocations: 11.98 kB / 1.417 GB, free: 2.543 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 1.385e-05/0.5397, allocations: 0 / 1.417 GB, free: 2.543 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.5398, allocations: 19.94 kB / 1.417 GB, free: 2.523 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 1.977e-05/0.5398, allocations: 7.984 kB / 1.417 GB, free: 2.516 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 3.422e-05/0.5398, allocations: 11.94 kB / 1.417 GB, free: 2.504 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0001252/0.54, allocations: 23.91 kB / 1.417 GB, free: 2.48 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.54, allocations: 0 / 1.417 GB, free: 2.48 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.503e-06/0.54, allocations: 0 / 1.417 GB, free: 2.48 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.043e-05/0.54, allocations: 0 / 1.417 GB, free: 2.48 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004626/0.5404, allocations: 266.4 kB / 1.417 GB, free: 2.191 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.5405, allocations: 8.031 kB / 1.417 GB, free: 2.184 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.072e-05/0.5405, allocations: 38.75 kB / 1.417 GB, free: 2.137 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.447e-05/0.5406, allocations: 0.9375 kB / 1.417 GB, free: 2.137 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.5407, allocations: 114.5 kB / 1.417 GB, free: 2 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001185/0.5408, allocations: 51.97 kB / 1.417 GB, free: 1.938 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.759e-05/0.5408, allocations: 4.375 kB / 1.417 GB, free: 1.934 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001581/0.541, allocations: 49.94 kB / 1.417 GB, free: 1.879 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.467e-06/0.541, allocations: 0 / 1.417 GB, free: 1.879 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.541, allocations: 4 kB / 1.417 GB, free: 1.875 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.541, allocations: 0 / 1.417 GB, free: 1.875 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.042e-05/0.5411, allocations: 11.98 kB / 1.417 GB, free: 1.863 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002036/0.5413, allocations: 128.7 kB / 1.418 GB, free: 1.695 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001118/0.5414, allocations: 26.58 kB / 1.418 GB, free: 1.66 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.472e-05/0.5415, allocations: 20.94 kB / 1.418 GB, free: 1.637 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001638/0.5416, allocations: 15.98 kB / 1.418 GB, free: 1.621 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.376e-05/0.5417, allocations: 38.44 kB / 1.418 GB, free: 1.574 MB / 1.107 GB Notification: Performance of pre-optimization done (n=3): time 1.243e-06/0.5417, allocations: 0 / 1.418 GB, free: 1.574 MB / 1.107 GB Notification: Performance of matching and sorting (n=3): time 0.0002621/0.542, allocations: 61.62 kB / 1.418 GB, free: 1.508 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.233e-05/0.542, allocations: 51.41 kB / 1.418 GB, free: 1.445 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.195e-05/0.5421, allocations: 97.86 kB / 1.418 GB, free: 1.34 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.5421, allocations: 25.7 kB / 1.418 GB, free: 1.309 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 3.649e-05/0.5421, allocations: 84.14 kB / 1.418 GB, free: 1.223 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 2.651e-05/0.5422, allocations: 3.953 kB / 1.418 GB, free: 1.219 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.004e-05/0.5422, allocations: 21.7 kB / 1.418 GB, free: 1.191 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.5423, allocations: 310.8 kB / 1.418 GB, free: 0.8789 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.553e-05/0.5424, allocations: 7.938 kB / 1.418 GB, free: 0.8711 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.127e-05/0.5424, allocations: 11.98 kB / 1.418 GB, free: 0.8594 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.08e-05/0.5425, allocations: 29.25 kB / 1.418 GB, free: 0.8281 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.5425, allocations: 4 kB / 1.418 GB, free: 0.8242 MB / 1.107 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001451/0.5427, allocations: 53.67 kB / 1.418 GB, free: 0.7656 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.5427, allocations: 10.28 kB / 1.418 GB, free: 0.7578 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.5427, allocations: 0 / 1.418 GB, free: 0.7578 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.5427, allocations: 0 / 1.418 GB, free: 0.7578 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.654e-05/0.5428, allocations: 4 kB / 1.418 GB, free: 0.7539 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.5428, allocations: 7.984 kB / 1.418 GB, free: 0.7461 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.425e-05/0.5428, allocations: 7.938 kB / 1.418 GB, free: 0.7383 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.5428, allocations: 0 / 1.418 GB, free: 0.7383 MB / 1.107 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.816e-05/0.5429, allocations: 113.8 kB / 1.418 GB, free: 0.6172 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.192e-05/0.543, allocations: 3.938 kB / 1.418 GB, free: 0.6133 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001744/0.5431, allocations: 61.3 kB / 1.419 GB, free: 0.5469 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.5431, allocations: 0 / 1.419 GB, free: 0.5469 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.5431, allocations: 7.938 kB / 1.419 GB, free: 0.5391 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.5431, allocations: 0 / 1.419 GB, free: 0.5391 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001493/0.5433, allocations: 124.8 kB / 1.419 GB, free: 384 kB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.5433, allocations: 0 / 1.419 GB, free: 384 kB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.285e-05/0.5433, allocations: 8 kB / 1.419 GB, free: 376 kB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.5433, allocations: 3.938 kB / 1.419 GB, free: 372 kB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.5433, allocations: 0 / 1.419 GB, free: 372 kB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.5433, allocations: 0 / 1.419 GB, free: 372 kB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.5434, allocations: 4 kB / 1.419 GB, free: 368 kB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000164/0.5435, allocations: 73.05 kB / 1.419 GB, free: 276 kB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 4.417e-05/0.5436, allocations: 11.89 kB / 1.419 GB, free: 264 kB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.5436, allocations: 4 kB / 1.419 GB, free: 260 kB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.98e-05/0.5436, allocations: 8 kB / 1.419 GB, free: 252 kB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.844e-05/0.5437, allocations: 7.984 kB / 1.419 GB, free: 244 kB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-06/0.5437, allocations: 0 / 1.419 GB, free: 244 kB / 1.107 GB Notification: Performance of sorting global known variables: time 5.606e-05/0.5437, allocations: 79.28 kB / 1.419 GB, free: 164 kB / 1.107 GB Notification: Performance of sort global known variables: time 6e-08/0.5437, allocations: 0 / 1.419 GB, free: 164 kB / 1.107 GB Notification: Performance of remove unused functions: time 0.0002004/0.5439, allocations: 11.94 kB / 1.419 GB, free: 152 kB / 1.107 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.0006105/0.5445, allocations: 0.628 MB / 1.419 GB, free: 15.49 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0001781/0.5447, allocations: 23.92 kB / 1.42 GB, free: 15.46 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.5447, allocations: 0 / 1.42 GB, free: 15.46 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 5.303e-05/0.5448, allocations: 11.98 kB / 1.42 GB, free: 15.45 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003122/0.5451, allocations: 8 kB / 1.42 GB, free: 15.45 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005747/0.5456, allocations: 162.3 kB / 1.42 GB, free: 15.25 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004167/0.5461, allocations: 0.6768 MB / 1.42 GB, free: 14.54 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 4.343e-05/0.5461, allocations: 0 / 1.42 GB, free: 14.54 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.007e-05/0.5462, allocations: 15.44 kB / 1.42 GB, free: 14.53 MB / 1.123 GB Notification: Performance of SimCode: time 4.3e-07/0.5462, allocations: 0 / 1.42 GB, free: 14.53 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02943/0.5756, allocations: 1.474 MB / 1.422 GB, free: 13.19 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.52, allocations: 0 / 1.422 GB, free: 13.19 MB / 1.123 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.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: 18.496440956834704]