Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_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.001252/0.001252, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001444/0.001444, allocations: 214.6 kB / 22.25 MB, free: 5.082 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.645/1.645, allocations: 230.6 MB / 256 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.351/3.351, allocations: 0.49 GB / 0.7951 GB, free: 33.38 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.Phi_pTX,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Examples_Phi_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.003361/0.003361, allocations: 67.66 kB / 1.154 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4606/0.464, allocations: 176.1 MB / 1.326 GB, free: 1.93 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.00376/0.4678, allocations: 1.524 MB / 1.327 GB, free: 408 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001681/0.4694, allocations: 0.818 MB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.17e-05/0.4695, allocations: 0 / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.872e-05/0.4695, allocations: 3.938 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.889e-05/0.4696, allocations: 15.84 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006476/0.4703, allocations: 139.4 kB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001239/0.4704, allocations: 43.86 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.4705, allocations: 19.92 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 7.065e-05/0.4706, allocations: 27.91 kB / 1.328 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.504e-05/0.4707, allocations: 23.86 kB / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.811e-05/0.4707, allocations: 4 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004599/0.4711, allocations: 175.7 kB / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.536e-05/0.4712, allocations: 15.98 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.442e-05/0.4712, allocations: 19.88 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004097/0.4716, allocations: 151.5 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.4716, allocations: 4 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.405e-06/0.4716, allocations: 0 / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.804e-06/0.4716, allocations: 0 / 1.329 GB, free: 14.95 MB / 1.029 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.0007497/0.4724, allocations: 321.8 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.221e-05/0.4724, allocations: 16.02 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.869e-05/0.4725, allocations: 30.75 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.845e-05/0.4725, allocations: 8.891 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/0.4727, allocations: 114.4 kB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.4727, allocations: 4.375 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.596e-05/0.4727, allocations: 8.375 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000301/0.473, allocations: 78.19 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.473, allocations: 3.938 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.473, allocations: 0 / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.473, allocations: 0 / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003048/0.4733, allocations: 67.92 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004499/0.4738, allocations: 267.7 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002307/0.474, allocations: 58.53 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001556/0.4742, allocations: 44.91 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001668/0.4743, allocations: 8 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.532e-05/0.4744, allocations: 38.48 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.563e-06/0.4744, allocations: 4 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.000621/0.475, allocations: 137.5 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.378e-05/0.475, allocations: 51.41 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.4752, allocations: 121.8 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.4752, allocations: 25.7 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.895e-05/0.4753, allocations: 84.14 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.837e-05/0.4753, allocations: 15.91 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.272e-05/0.4753, allocations: 9.719 kB / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.4755, allocations: 330.8 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001544/0.4756, allocations: 27.97 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001342/0.4758, allocations: 31.95 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002677/0.476, allocations: 72.72 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.476, allocations: 0 / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003435/0.4764, allocations: 101.6 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.4764, allocations: 4 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.4764, allocations: 0 / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.4764, allocations: 0 / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.4766, allocations: 19.98 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.4766, allocations: 0 / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.775e-05/0.4767, allocations: 19.92 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.954e-06/0.4767, allocations: 0 / 1.331 GB, free: 12.66 MB / 1.029 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.455e-05/0.4768, allocations: 115 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.724e-05/0.4768, allocations: 4 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003773/0.4772, allocations: 109.5 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.4772, allocations: 0 / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4772, allocations: 0 / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.4772, allocations: 0 / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000189/0.4774, allocations: 152.7 kB / 1.331 GB, free: 12.22 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.4774, allocations: 3.938 kB / 1.331 GB, free: 12.22 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.043e-05/0.4775, allocations: 11.98 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.4775, allocations: 4 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.4775, allocations: 0 / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.4775, allocations: 4 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4775, allocations: 0 / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003759/0.4778, allocations: 199.3 kB / 1.331 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.1e-05/0.4779, allocations: 15.89 kB / 1.331 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.512e-05/0.4779, allocations: 0 / 1.331 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.478, allocations: 15.98 kB / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.993e-05/0.478, allocations: 3.984 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.478, allocations: 4.422 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.211e-05/0.4781, allocations: 95.7 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4781, allocations: 3.938 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003261/0.4784, allocations: 35.88 kB / 1.332 GB, free: 11.82 MB / 1.029 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.0008465/0.4793, allocations: 0.7592 MB / 1.332 GB, free: 11.03 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000348/0.4796, allocations: 71.91 kB / 1.332 GB, free: 10.96 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.4796, allocations: 0 / 1.332 GB, free: 10.96 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001487/0.4798, allocations: 35.95 kB / 1.332 GB, free: 10.93 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003537/0.4801, allocations: 15.94 kB / 1.332 GB, free: 10.91 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002009/0.4821, allocations: 1.436 MB / 1.334 GB, free: 9.398 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003297/0.4825, allocations: 0.6807 MB / 1.334 GB, free: 8.691 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.463e-05/0.4825, allocations: 4 kB / 1.334 GB, free: 8.688 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.225e-05/0.4826, allocations: 19.42 kB / 1.335 GB, free: 8.668 MB / 1.029 GB Notification: Performance of SimCode: time 3.91e-07/0.4826, allocations: 0 / 1.335 GB, free: 8.668 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03044/0.513, allocations: 2.613 MB / 1.337 GB, free: 6.191 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.41, allocations: 8.625 kB / 1.337 GB, free: 6.188 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.598735467065126]