Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.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.001383/0.001383, allocations: 108.2 kB / 17.54 MB, free: 4.766 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.00137/0.00137, allocations: 182.7 kB / 20.71 MB, free: 1.609 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.287/1.287, allocations: 225.6 MB / 249.3 MB, free: 3.305 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.499/2.499, allocations: 476.7 MB / 0.7628 GB, free: 15.18 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.MassFraction_pTphi,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001793/0.001793, allocations: 71.88 kB / 1.107 GB, free: 5.207 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7706/0.7724, allocations: 168.7 MB / 1.271 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002251/0.7747, allocations: 1.661 MB / 1.273 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1648/0.9395, allocations: 152.1 MB / 1.421 GB, free: 5.711 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.9396, allocations: 1.25 kB / 1.421 GB, free: 5.711 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0001473/0.9397, allocations: 21.73 kB / 1.422 GB, free: 5.691 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0002347/0.9399, allocations: 40.61 kB / 1.422 GB, free: 5.66 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.000378/0.9403, allocations: 158.2 kB / 1.422 GB, free: 5.543 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0001852/0.9405, allocations: 120.5 kB / 1.422 GB, free: 5.473 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.9406, allocations: 21.27 kB / 1.422 GB, free: 5.457 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001246/0.9419, allocations: 181 kB / 1.422 GB, free: 5.375 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 6.645e-05/0.9419, allocations: 45.94 kB / 1.422 GB, free: 5.344 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.9419, allocations: 6.125 kB / 1.422 GB, free: 5.344 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003586/0.9423, allocations: 185.4 kB / 1.422 GB, free: 5.25 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 4.603e-05/0.9423, allocations: 25.06 kB / 1.422 GB, free: 5.23 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 5.598e-05/0.9424, allocations: 45.73 kB / 1.422 GB, free: 5.199 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0003343/0.9427, allocations: 196.1 kB / 1.422 GB, free: 5.078 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.9427, allocations: 0 / 1.422 GB, free: 5.078 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.673e-06/0.9427, allocations: 1.469 kB / 1.422 GB, free: 5.078 MB / 1.107 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.9427, allocations: 0 / 1.422 GB, free: 5.078 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006192/0.9434, allocations: 442.3 kB / 1.423 GB, free: 4.645 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.9434, allocations: 14.72 kB / 1.423 GB, free: 4.641 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.08e-05/0.9434, allocations: 36.09 kB / 1.423 GB, free: 4.598 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008703/0.9443, allocations: 89.64 kB / 1.423 GB, free: 4.555 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002412/0.9446, allocations: 212.2 kB / 1.423 GB, free: 4.32 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.9446, allocations: 3.094 kB / 1.423 GB, free: 4.32 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.611e-05/0.9446, allocations: 13.09 kB / 1.423 GB, free: 4.312 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004165/0.945, allocations: 131.2 kB / 1.423 GB, free: 4.227 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.945, allocations: 3.938 kB / 1.423 GB, free: 4.223 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.12e-05/0.945, allocations: 9.156 kB / 1.423 GB, free: 4.215 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.945, allocations: 5.438 kB / 1.423 GB, free: 4.211 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005235/0.9456, allocations: 131.4 kB / 1.424 GB, free: 4.152 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007329/0.9463, allocations: 419.5 kB / 1.424 GB, free: 3.754 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007006/0.947, allocations: 246 kB / 1.424 GB, free: 3.562 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002435/0.9472, allocations: 81.62 kB / 1.424 GB, free: 3.516 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 2.247e-05/0.9473, allocations: 1 kB / 1.424 GB, free: 3.516 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.9473, allocations: 35.94 kB / 1.424 GB, free: 3.473 MB / 1.107 GB Notification: Performance of pre-optimization done (n=8): time 1.052e-06/0.9473, allocations: 0 / 1.424 GB, free: 3.473 MB / 1.107 GB Notification: Performance of matching and sorting (n=8): time 0.000754/0.948, allocations: 213.2 kB / 1.424 GB, free: 3.355 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/0.9481, allocations: 52.31 kB / 1.425 GB, free: 3.293 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.9482, allocations: 150 kB / 1.425 GB, free: 3.164 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.9482, allocations: 25.7 kB / 1.425 GB, free: 3.133 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 6.629e-05/0.9483, allocations: 104.8 kB / 1.425 GB, free: 3.031 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 3.019e-05/0.9483, allocations: 23.05 kB / 1.425 GB, free: 3.012 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.508e-05/0.9484, allocations: 33.48 kB / 1.425 GB, free: 2.98 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.9485, allocations: 324.8 kB / 1.425 GB, free: 2.656 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002103/0.9487, allocations: 48.67 kB / 1.425 GB, free: 2.637 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002333/0.949, allocations: 82.83 kB / 1.425 GB, free: 2.578 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004191/0.9494, allocations: 121.7 kB / 1.425 GB, free: 2.516 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.9494, allocations: 0 / 1.425 GB, free: 2.516 MB / 1.107 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004848/0.9499, allocations: 161.2 kB / 1.426 GB, free: 2.422 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.9499, allocations: 9.172 kB / 1.426 GB, free: 2.418 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.9499, allocations: 3.938 kB / 1.426 GB, free: 2.414 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.9499, allocations: 0.9375 kB / 1.426 GB, free: 2.414 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002033/0.9501, allocations: 26.62 kB / 1.426 GB, free: 2.406 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.9501, allocations: 8.938 kB / 1.426 GB, free: 2.398 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001458/0.9502, allocations: 21.84 kB / 1.426 GB, free: 2.387 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/0.9503, allocations: 14.17 kB / 1.426 GB, free: 2.375 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 (8): * Single equations (assignments): 8 * 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.417e-05/0.9504, allocations: 115.4 kB / 1.426 GB, free: 2.258 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.608e-05/0.9504, allocations: 7.641 kB / 1.426 GB, free: 2.254 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.505e-05/0.9504, allocations: 15.59 kB / 1.426 GB, free: 2.238 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.9505, allocations: 5.5 kB / 1.426 GB, free: 2.234 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.9505, allocations: 0 / 1.426 GB, free: 2.234 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/0.9505, allocations: 5.297 kB / 1.426 GB, free: 2.23 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007904/0.9513, allocations: 461.2 kB / 1.426 GB, free: 1.816 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.9513, allocations: 4 kB / 1.426 GB, free: 1.812 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001812/0.9514, allocations: 30.67 kB / 1.426 GB, free: 1.801 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.9514, allocations: 5.031 kB / 1.426 GB, free: 1.797 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.9514, allocations: 5.438 kB / 1.426 GB, free: 1.793 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.9515, allocations: 3.938 kB / 1.426 GB, free: 1.789 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.9515, allocations: 1.375 kB / 1.426 GB, free: 1.789 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005243/0.952, allocations: 251.5 kB / 1.427 GB, free: 1.598 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 5.125e-05/0.952, allocations: 87.11 kB / 1.427 GB, free: 1.496 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.277e-05/0.9521, allocations: 5.188 kB / 1.427 GB, free: 1.492 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001695/0.9522, allocations: 20.56 kB / 1.427 GB, free: 1.48 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.777e-05/0.9523, allocations: 7.531 kB / 1.427 GB, free: 1.477 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/0.9523, allocations: 14.17 kB / 1.427 GB, free: 1.465 MB / 1.107 GB Notification: Performance of sorting global known variables: time 7.584e-05/0.9523, allocations: 107.7 kB / 1.427 GB, free: 1.379 MB / 1.107 GB Notification: Performance of sort global known variables: time 8e-08/0.9523, allocations: 0 / 1.427 GB, free: 1.379 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0002559/0.9526, allocations: 31.94 kB / 1.427 GB, free: 1.371 MB / 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 (8): * Single equations (assignments): 8 * 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.0008429/0.9534, allocations: 0.8005 MB / 1.428 GB, free: 0.6406 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.000483/0.9539, allocations: 126.9 kB / 1.428 GB, free: 0.582 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.9539, allocations: 1.438 kB / 1.428 GB, free: 0.582 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0002192/0.9542, allocations: 62.31 kB / 1.428 GB, free: 0.5547 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003274/0.9545, allocations: 36.28 kB / 1.428 GB, free: 0.5352 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002491/0.957, allocations: 1.751 MB / 1.429 GB, free: 15.05 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002877/0.9573, allocations: 0.6991 MB / 1.43 GB, free: 14.34 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0001159/0.9574, allocations: 28.27 kB / 1.43 GB, free: 14.32 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.388e-05/0.9574, allocations: 33.98 kB / 1.43 GB, free: 14.3 MB / 1.123 GB Notification: Performance of SimCode: time 2.61e-07/0.9574, allocations: 0 / 1.43 GB, free: 14.3 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02203/0.9795, allocations: 3.36 MB / 1.434 GB, free: 12.58 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.115/8.095, allocations: 6.734 kB / 1.434 GB, free: 12.58 MB / 1.123 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,masFra1.phi,masFra1.X[1],masFra2.X[1],masFra1.T Variables in the result:P.k,P.y,Phi.duration,Phi.height,Phi.offset,Phi.startTime,Phi.y,T.duration,T.height,T.offset,T.startTime,T.y,masFra1.T,masFra1.X[1],masFra1.X[2],masFra1.p,masFra1.p_in,masFra1.phi,masFra1.use_p_in,masFra2.T,masFra2.X[1],masFra2.X[2],masFra2.p,masFra2.phi,masFra2.use_p_in,time [Calling sys.exit(0), Time elapsed: 13.375745459999962]