Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_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.001162/0.001162, allocations: 112.2 kB / 17.54 MB, free: 4.641 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.00113/0.00113, allocations: 190.6 kB / 20.71 MB, free: 1.484 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.285/1.285, allocations: 225.6 MB / 249.3 MB, free: 3.172 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.493/2.493, allocations: 476.7 MB / 0.7628 GB, free: 15.12 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.Phi_pTX,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001815/0.001815, allocations: 67.89 kB / 1.107 GB, free: 5.184 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.763/0.7649, allocations: 168.7 MB / 1.271 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002074/0.7669, allocations: 1.522 MB / 1.273 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001/0.7679, allocations: 0.8177 MB / 1.274 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.106e-05/0.768, allocations: 0.9688 kB / 1.274 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.435e-05/0.768, allocations: 6.391 kB / 1.274 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.207e-05/0.768, allocations: 9.641 kB / 1.274 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003771/0.7684, allocations: 134.7 kB / 1.274 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.711e-05/0.7685, allocations: 50.94 kB / 1.274 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.216e-05/0.7686, allocations: 12.2 kB / 1.274 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.258e-05/0.7686, allocations: 23.22 kB / 1.274 GB, free: 6 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.419e-05/0.7687, allocations: 21.22 kB / 1.274 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.427e-05/0.7687, allocations: 5 kB / 1.274 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003238/0.769, allocations: 182 kB / 1.274 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.389e-05/0.769, allocations: 11.98 kB / 1.274 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.734e-05/0.769, allocations: 23.23 kB / 1.274 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002337/0.7693, allocations: 144.9 kB / 1.274 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.7693, allocations: 4 kB / 1.274 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.673e-06/0.7693, allocations: 0.75 kB / 1.274 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.7693, allocations: 0 / 1.274 GB, free: 5.863 MB / 0.9981 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.0004268/0.7697, allocations: 406 kB / 1.275 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.7697, allocations: 9.719 kB / 1.275 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.298e-05/0.7698, allocations: 35.84 kB / 1.275 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.37e-05/0.7698, allocations: 4.125 kB / 1.275 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.684e-05/0.7699, allocations: 169 kB / 1.275 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.929e-06/0.7699, allocations: 5.344 kB / 1.275 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.131e-05/0.7699, allocations: 2.594 kB / 1.275 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002285/0.7701, allocations: 76.22 kB / 1.275 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.7701, allocations: 3.938 kB / 1.275 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.7701, allocations: 4.969 kB / 1.275 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.7701, allocations: 3.719 kB / 1.275 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002806/0.7704, allocations: 67.77 kB / 1.275 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002595/0.7707, allocations: 285.8 kB / 1.275 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000186/0.7708, allocations: 58.34 kB / 1.275 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001429/0.771, allocations: 45.34 kB / 1.275 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001391/0.7711, allocations: 89.83 kB / 1.275 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.534e-05/0.7711, allocations: 35.91 kB / 1.275 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.7711, allocations: 0 / 1.275 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0005167/0.7717, allocations: 133.9 kB / 1.276 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.536e-05/0.7717, allocations: 52.38 kB / 1.276 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.209e-05/0.7717, allocations: 122 kB / 1.276 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.853e-06/0.7717, allocations: 25.7 kB / 1.276 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.265e-05/0.7718, allocations: 91.28 kB / 1.276 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.372e-05/0.7718, allocations: 5.5 kB / 1.276 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.722e-05/0.7718, allocations: 14.09 kB / 1.276 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.8e-05/0.7718, allocations: 326.3 kB / 1.276 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001436/0.772, allocations: 31.02 kB / 1.276 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.7721, allocations: 35.59 kB / 1.276 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002691/0.7724, allocations: 70.47 kB / 1.276 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.7724, allocations: 0.8438 kB / 1.276 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003003/0.7727, allocations: 99.84 kB / 1.276 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.7727, allocations: 9.438 kB / 1.276 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-06/0.7727, allocations: 0 / 1.276 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.7727, allocations: 4.844 kB / 1.276 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.7728, allocations: 21.11 kB / 1.276 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.7728, allocations: 0 / 1.276 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.433e-05/0.7729, allocations: 10.52 kB / 1.276 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.802e-06/0.7729, allocations: 0.6875 kB / 1.276 GB, free: 3.898 MB / 0.9981 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.24e-05/0.773, allocations: 121.1 kB / 1.277 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.537e-05/0.773, allocations: 6.578 kB / 1.277 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000331/0.7733, allocations: 112.2 kB / 1.277 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.7733, allocations: 1.125 kB / 1.277 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.7733, allocations: 0 / 1.277 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.7733, allocations: 1.062 kB / 1.277 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000112/0.7734, allocations: 170.9 kB / 1.277 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.7734, allocations: 1.672 kB / 1.277 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.377e-05/0.7735, allocations: 18.66 kB / 1.277 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.7735, allocations: 2.562 kB / 1.277 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.7735, allocations: 4 kB / 1.277 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.7735, allocations: 0 / 1.277 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.7735, allocations: 0.9688 kB / 1.277 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003086/0.7739, allocations: 198.9 kB / 1.277 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.737e-05/0.7739, allocations: 80.83 kB / 1.277 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.7739, allocations: 5.031 kB / 1.277 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.774, allocations: 11.52 kB / 1.277 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.335e-05/0.774, allocations: 8.578 kB / 1.277 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.774, allocations: 1.125 kB / 1.277 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.174e-05/0.7741, allocations: 90.92 kB / 1.277 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.7741, allocations: 0 / 1.277 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000248/0.7743, allocations: 32.78 kB / 1.277 GB, free: 3.168 MB / 0.9981 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.000531/0.7748, allocations: 0.7741 MB / 1.278 GB, free: 2.469 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003325/0.7752, allocations: 71.38 kB / 1.278 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.7752, allocations: 0 / 1.278 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001475/0.7753, allocations: 39.69 kB / 1.278 GB, free: 2.449 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002692/0.7756, allocations: 14.97 kB / 1.278 GB, free: 2.441 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001547/0.7771, allocations: 1.426 MB / 1.28 GB, free: 17.2 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002913/0.7774, allocations: 0.6829 MB / 1.28 GB, free: 16.51 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.778e-05/0.7775, allocations: 10.52 kB / 1.28 GB, free: 16.5 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.79e-05/0.7775, allocations: 19.89 kB / 1.28 GB, free: 16.48 MB / 1.014 GB Notification: Performance of SimCode: time 2.91e-07/0.7775, allocations: 0 / 1.28 GB, free: 16.48 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02377/0.8013, allocations: 2.437 MB / 1.283 GB, free: 16.04 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.995/7.796, allocations: 8.203 kB / 1.283 GB, free: 16.04 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_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: 13.02605626500008]