Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.00175/0.00175, allocations: 108.2 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.001714/0.001714, allocations: 191.8 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.501/1.501, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.586/2.586, allocations: 443.5 MB / 0.7287 GB, free: 13.22 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 67.89 kB / 1.056 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8705/0.8724, allocations: 160.7 MB / 1.213 GB, free: 5.527 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.003371/0.8758, allocations: 1.51 MB / 1.214 GB, free: 4.008 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001909/0.8777, allocations: 0.8069 MB / 1.215 GB, free: 3.195 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.726e-05/0.8777, allocations: 4 kB / 1.215 GB, free: 3.191 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.19e-05/0.8778, allocations: 11.92 kB / 1.215 GB, free: 3.18 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.387e-05/0.8779, allocations: 15.8 kB / 1.215 GB, free: 3.164 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006161/0.8785, allocations: 127.5 kB / 1.215 GB, free: 3.039 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001049/0.8786, allocations: 51.78 kB / 1.215 GB, free: 2.988 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.8787, allocations: 10.11 kB / 1.215 GB, free: 2.98 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.678e-05/0.8787, allocations: 23.92 kB / 1.215 GB, free: 2.957 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.134e-05/0.8788, allocations: 27.89 kB / 1.215 GB, free: 2.93 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.8788, allocations: 8 kB / 1.215 GB, free: 2.922 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003852/0.8792, allocations: 171.7 kB / 1.216 GB, free: 2.754 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.2e-05/0.8792, allocations: 11.94 kB / 1.216 GB, free: 2.742 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.091e-05/0.8793, allocations: 23.84 kB / 1.216 GB, free: 2.719 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00035/0.8796, allocations: 143.5 kB / 1.216 GB, free: 2.578 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.8796, allocations: 0 / 1.216 GB, free: 2.578 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8796, allocations: 0 / 1.216 GB, free: 2.578 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.8796, allocations: 4 kB / 1.216 GB, free: 2.574 MB / 0.92 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.0006583/0.8803, allocations: 402.9 kB / 1.216 GB, free: 2.129 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.438e-05/0.8803, allocations: 8.625 kB / 1.216 GB, free: 2.121 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.123e-05/0.8804, allocations: 38.75 kB / 1.216 GB, free: 2.074 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.191e-05/0.8804, allocations: 4.891 kB / 1.216 GB, free: 2.07 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001685/0.8806, allocations: 176.3 kB / 1.216 GB, free: 1.859 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.8806, allocations: 384 / 1.216 GB, free: 1.859 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.591e-05/0.8806, allocations: 4.375 kB / 1.216 GB, free: 1.855 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002677/0.8809, allocations: 74.16 kB / 1.216 GB, free: 1.777 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.8809, allocations: 7.938 kB / 1.216 GB, free: 1.77 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.8809, allocations: 3.984 kB / 1.216 GB, free: 1.766 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.8809, allocations: 3.984 kB / 1.216 GB, free: 1.762 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000284/0.8812, allocations: 67.94 kB / 1.217 GB, free: 1.695 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004638/0.8816, allocations: 280.7 kB / 1.217 GB, free: 1.371 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002089/0.8819, allocations: 66.47 kB / 1.217 GB, free: 1.297 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001508/0.882, allocations: 32.92 kB / 1.217 GB, free: 1.262 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002181/0.8822, allocations: 89.09 kB / 1.217 GB, free: 1.156 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.8823, allocations: 38.55 kB / 1.217 GB, free: 1.109 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.8823, allocations: 4 kB / 1.217 GB, free: 1.105 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0005339/0.8828, allocations: 121.6 kB / 1.217 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.572e-05/0.8828, allocations: 55.34 kB / 1.217 GB, free: 0.9141 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.883, allocations: 121.8 kB / 1.217 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.883, allocations: 29.7 kB / 1.217 GB, free: 0.75 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.921e-05/0.883, allocations: 96.09 kB / 1.217 GB, free: 0.6523 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.8831, allocations: 3.953 kB / 1.217 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.349e-05/0.8831, allocations: 17.66 kB / 1.217 GB, free: 0.625 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.8832, allocations: 322.8 kB / 1.218 GB, free: 308 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/0.8834, allocations: 27.97 kB / 1.218 GB, free: 280 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.8835, allocations: 39.95 kB / 1.218 GB, free: 240 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002633/0.8838, allocations: 68.78 kB / 1.218 GB, free: 168 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.8838, allocations: 3.938 kB / 1.218 GB, free: 164 kB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003053/0.8841, allocations: 101.6 kB / 1.218 GB, free: 56 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.8841, allocations: 4 kB / 1.218 GB, free: 52 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.8841, allocations: 3.938 kB / 1.218 GB, free: 48 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.8841, allocations: 0 / 1.218 GB, free: 48 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.8842, allocations: 15.98 kB / 1.218 GB, free: 32 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.8842, allocations: 0 / 1.218 GB, free: 32 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.539e-05/0.8843, allocations: 11.98 kB / 1.218 GB, free: 20 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-06/0.8843, allocations: 3.984 kB / 1.218 GB, free: 16 kB / 0.92 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 0.0001159/0.8844, allocations: 121.8 kB / 1.218 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.68e-05/0.8845, allocations: 3.953 kB / 1.218 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003668/0.8848, allocations: 105.5 kB / 1.218 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.8848, allocations: 0 / 1.218 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.8848, allocations: 4 kB / 1.218 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.8848, allocations: 0 / 1.218 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002301/0.8851, allocations: 185.6 kB / 1.218 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.8851, allocations: 0 / 1.218 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.574e-05/0.8852, allocations: 23.92 kB / 1.218 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.8852, allocations: 384 / 1.218 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.8852, allocations: 0 / 1.218 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.8852, allocations: 0 / 1.218 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.8852, allocations: 0 / 1.218 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003695/0.8856, allocations: 207.4 kB / 1.219 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.189e-05/0.8856, allocations: 81.06 kB / 1.219 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.8856, allocations: 0 / 1.219 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.8857, allocations: 11.98 kB / 1.219 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.264e-05/0.8858, allocations: 3.984 kB / 1.219 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.8858, allocations: 8 kB / 1.219 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.236e-05/0.8858, allocations: 91.27 kB / 1.219 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.8858, allocations: 4 kB / 1.219 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002988/0.8861, allocations: 31.88 kB / 1.219 GB, free: 15.04 MB / 0.9356 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.0008174/0.887, allocations: 0.7683 MB / 1.22 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003286/0.8873, allocations: 63.92 kB / 1.22 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.8873, allocations: 0 / 1.22 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000158/0.8874, allocations: 39.89 kB / 1.22 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003226/0.8878, allocations: 20.7 kB / 1.22 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002036/0.8898, allocations: 1.422 MB / 1.221 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003644/0.8902, allocations: 0.6841 MB / 1.222 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.639e-05/0.8902, allocations: 4 kB / 1.222 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.257e-05/0.8902, allocations: 15.44 kB / 1.222 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of SimCode: time 4.3e-07/0.8902, allocations: 0 / 1.222 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02572/0.916, allocations: 2.479 MB / 1.224 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.313/9.229, allocations: 0.7031 kB / 1.224 GB, free: 9.516 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 15.047044747974724]