Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007535/0.0007536, allocations: 95.92 kB / 15.37 MB, free: 0.7266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007791/0.000779, allocations: 175 kB / 16.27 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.632/2.632, allocations: 462.6 MB / 0.7364 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003381/0.0003383, allocations: 8.406 kB / 0.9029 GB, free: 36.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2857/0.286, allocations: 159.6 MB / 1.059 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.001883/0.288, allocations: 1.369 MB / 1.06 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1448/0.4328, allocations: 147.7 MB / 1.204 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001196/0.433, allocations: 0 / 1.204 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001411/0.4331, allocations: 11.92 kB / 1.204 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002406/0.4334, allocations: 43.77 kB / 1.204 GB, free: 15.24 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003903/0.4338, allocations: 123.5 kB / 1.204 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001749/0.434, allocations: 111.6 kB / 1.205 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.4341, allocations: 29.61 kB / 1.205 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001869/0.436, allocations: 156.5 kB / 1.205 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.615e-05/0.4361, allocations: 35.78 kB / 1.205 GB, free: 14.81 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.057e-05/0.4361, allocations: 4 kB / 1.205 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003779/0.4365, allocations: 187.6 kB / 1.205 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.092e-05/0.4365, allocations: 15.92 kB / 1.205 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.321e-05/0.4366, allocations: 65.44 kB / 1.205 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002887/0.4369, allocations: 179.5 kB / 1.205 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.4369, allocations: 0 / 1.205 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.773e-06/0.4369, allocations: 0 / 1.205 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.642e-06/0.4369, allocations: 0 / 1.205 GB, free: 14.36 MB / 0.9669 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.0005905/0.4375, allocations: 443 kB / 1.206 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.4376, allocations: 11.97 kB / 1.206 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.94e-05/0.4376, allocations: 38.75 kB / 1.206 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000903/0.4385, allocations: 83.75 kB / 1.206 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000201/0.4388, allocations: 202.7 kB / 1.206 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.4388, allocations: 8 kB / 1.206 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.8e-05/0.4388, allocations: 8 kB / 1.206 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000429/0.4392, allocations: 147.4 kB / 1.206 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.4393, allocations: 0 / 1.206 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.969e-05/0.4393, allocations: 11.94 kB / 1.206 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.4393, allocations: 3.984 kB / 1.206 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005581/0.4399, allocations: 163.8 kB / 1.206 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007505/0.4406, allocations: 412.4 kB / 1.207 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007003/0.4413, allocations: 255.7 kB / 1.207 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002571/0.4416, allocations: 92.78 kB / 1.207 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.4416, allocations: 4 kB / 1.207 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.4417, allocations: 34.56 kB / 1.207 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.312e-06/0.4417, allocations: 0 / 1.207 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0008222/0.4425, allocations: 249.3 kB / 1.207 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/0.4425, allocations: 59.34 kB / 1.207 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.4427, allocations: 151.8 kB / 1.207 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.4427, allocations: 25.7 kB / 1.208 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.342e-05/0.4428, allocations: 104.2 kB / 1.208 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.39e-05/0.4428, allocations: 31.55 kB / 1.208 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.979e-05/0.4428, allocations: 17.72 kB / 1.208 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.449e-05/0.4429, allocations: 322.8 kB / 1.208 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002308/0.4432, allocations: 67.94 kB / 1.208 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002402/0.4434, allocations: 82.53 kB / 1.208 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004507/0.4439, allocations: 140.8 kB / 1.208 GB, free: 11 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.4439, allocations: 4 kB / 1.208 GB, free: 11 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005195/0.4444, allocations: 185.4 kB / 1.208 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.4444, allocations: 4 kB / 1.208 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.4444, allocations: 8.547 kB / 1.208 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.4445, allocations: 0 / 1.208 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002107/0.4447, allocations: 35.97 kB / 1.208 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.4447, allocations: 0 / 1.208 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001552/0.4448, allocations: 19.98 kB / 1.208 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.453e-05/0.4449, allocations: 11.92 kB / 1.209 GB, free: 10.73 MB / 0.9669 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 8.68e-05/0.445, allocations: 113.8 kB / 1.209 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.528e-05/0.445, allocations: 15.81 kB / 1.209 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.252e-05/0.4451, allocations: 16.72 kB / 1.209 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.4451, allocations: 0 / 1.209 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.4451, allocations: 11.92 kB / 1.209 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.4451, allocations: 0 / 1.209 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007938/0.4459, allocations: 490.3 kB / 1.209 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.4459, allocations: 0 / 1.209 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001831/0.4461, allocations: 31.97 kB / 1.209 GB, free: 10 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.4461, allocations: 0 / 1.209 GB, free: 10 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.4461, allocations: 4 kB / 1.209 GB, free: 9.996 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.4461, allocations: 3.938 kB / 1.209 GB, free: 9.992 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4461, allocations: 0 / 1.209 GB, free: 9.992 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005437/0.4467, allocations: 283.2 kB / 1.209 GB, free: 9.699 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.884e-05/0.4467, allocations: 88.95 kB / 1.21 GB, free: 9.594 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.212e-05/0.4468, allocations: 4 kB / 1.21 GB, free: 9.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001849/0.4469, allocations: 27.91 kB / 1.21 GB, free: 9.562 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.252e-05/0.447, allocations: 7.984 kB / 1.21 GB, free: 9.555 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.447, allocations: 4 kB / 1.21 GB, free: 9.551 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.973e-05/0.4471, allocations: 118.1 kB / 1.21 GB, free: 9.438 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4471, allocations: 0 / 1.21 GB, free: 9.438 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002582/0.4474, allocations: 31.94 kB / 1.21 GB, free: 9.406 MB / 0.9669 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.0008296/0.4482, allocations: 0.8177 MB / 1.211 GB, free: 8.562 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005134/0.4487, allocations: 147.9 kB / 1.211 GB, free: 8.418 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4487, allocations: 0 / 1.211 GB, free: 8.418 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002429/0.449, allocations: 83.88 kB / 1.211 GB, free: 8.336 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003493/0.4493, allocations: 27.91 kB / 1.211 GB, free: 8.309 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002484/0.4518, allocations: 1.808 MB / 1.213 GB, free: 6.422 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002351/0.4521, allocations: 0.7004 MB / 1.213 GB, free: 5.695 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001493/0.4522, allocations: 32.44 kB / 1.213 GB, free: 5.664 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.318e-05/0.4523, allocations: 31.42 kB / 1.213 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of SimCode: time 6.01e-07/0.4523, allocations: 0 / 1.213 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02498/0.4773, allocations: 2.974 MB / 1.216 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001759/0.4775, allocations: 213 kB / 1.216 GB, free: 2.602 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.833/2.311, allocations: 1.5 kB / 1.216 GB, free: 2.602 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches