Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: translateModel(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masFra1.phi|masFra1.X.1.|masFra2.X.1.|masFra1.T",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi") translateModel(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masFra1.phi|masFra1.X.1.|masFra2.X.1.|masFra1.T",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 102.8 kB / 16.35 MB, free: 5.828 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.001141/0.001141, allocations: 193.2 kB / 17.29 MB, free: 5.484 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.192/1.192, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.212/2.212, allocations: 437.1 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 64.38 kB / 0.8707 GB, free: 1.473 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2444/0.2456, allocations: 151.6 MB / 1.019 GB, free: 9.879 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.00235/0.2479, allocations: 1.639 MB / 1.02 GB, free: 8.223 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.5694/0.8174, allocations: 151.5 MB / 1.168 GB, free: 2.121 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.81e-05/0.8175, allocations: 1.312 kB / 1.168 GB, free: 2.121 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0001215/0.8177, allocations: 17.94 kB / 1.168 GB, free: 2.109 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0002119/0.8179, allocations: 52.66 kB / 1.168 GB, free: 2.074 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003445/0.8183, allocations: 143.5 kB / 1.169 GB, free: 2.008 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0001556/0.8184, allocations: 120.2 kB / 1.169 GB, free: 1.953 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.8186, allocations: 32.69 kB / 1.169 GB, free: 1.934 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009736/0.8195, allocations: 169.5 kB / 1.169 GB, free: 1.891 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 6.933e-05/0.8196, allocations: 46.33 kB / 1.169 GB, free: 1.867 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.8196, allocations: 6.312 kB / 1.169 GB, free: 1.867 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003248/0.82, allocations: 182.1 kB / 1.169 GB, free: 1.816 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 3.75e-05/0.82, allocations: 18.98 kB / 1.169 GB, free: 1.805 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 5.04e-05/0.8201, allocations: 45.92 kB / 1.169 GB, free: 1.777 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0002832/0.8204, allocations: 192.1 kB / 1.169 GB, free: 1.711 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.8204, allocations: 1.125 kB / 1.169 GB, free: 1.711 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.032e-06/0.8204, allocations: 7.875 kB / 1.169 GB, free: 1.703 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.8204, allocations: 0 / 1.169 GB, free: 1.703 MB / 0.8731 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.0005329/0.8209, allocations: 442.2 kB / 1.17 GB, free: 1.293 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.821, allocations: 9.781 kB / 1.17 GB, free: 1.293 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008522/0.8218, allocations: 84.64 kB / 1.17 GB, free: 1.277 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001989/0.822, allocations: 213.3 kB / 1.17 GB, free: 1.055 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.822, allocations: 3.469 kB / 1.17 GB, free: 1.055 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.132e-05/0.8221, allocations: 8.438 kB / 1.17 GB, free: 1.051 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003746/0.8225, allocations: 134 kB / 1.17 GB, free: 0.9961 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.8225, allocations: 0 / 1.17 GB, free: 0.9961 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/0.8225, allocations: 7.938 kB / 1.17 GB, free: 0.9883 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-06/0.8225, allocations: 8.859 kB / 1.17 GB, free: 0.9844 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004632/0.823, allocations: 132.8 kB / 1.17 GB, free: 0.957 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007186/0.8237, allocations: 418.6 kB / 1.171 GB, free: 0.6172 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006269/0.8243, allocations: 253.4 kB / 1.171 GB, free: 468 kB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002124/0.8246, allocations: 70.56 kB / 1.171 GB, free: 448 kB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.62e-05/0.8246, allocations: 2.969 kB / 1.171 GB, free: 448 kB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.8246, allocations: 35.66 kB / 1.171 GB, free: 404 kB / 0.8731 GB Notification: Performance of pre-optimization done (n=8): time 1.222e-06/0.8246, allocations: 4 kB / 1.171 GB, free: 400 kB / 0.8731 GB Notification: Performance of matching and sorting (n=8): time 0.0006698/0.8253, allocations: 209.7 kB / 1.171 GB, free: 328 kB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.629e-05/0.8253, allocations: 59.52 kB / 1.171 GB, free: 260 kB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.8255, allocations: 146.9 kB / 1.171 GB, free: 144 kB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.8255, allocations: 26.89 kB / 1.172 GB, free: 112 kB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 5.653e-05/0.8255, allocations: 103.9 kB / 1.172 GB, free: 12 kB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.272e-05/0.8256, allocations: 25.39 kB / 1.172 GB, free: 15.99 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.238e-05/0.8257, allocations: 25.83 kB / 1.172 GB, free: 15.97 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.8258, allocations: 323.4 kB / 1.172 GB, free: 15.65 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001925/0.826, allocations: 60.02 kB / 1.172 GB, free: 15.63 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002/0.8262, allocations: 78.94 kB / 1.172 GB, free: 15.59 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003828/0.8266, allocations: 119.1 kB / 1.172 GB, free: 15.56 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.8266, allocations: 5.156 kB / 1.172 GB, free: 15.55 MB / 0.8887 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004249/0.827, allocations: 160.1 kB / 1.172 GB, free: 15.49 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.827, allocations: 5.312 kB / 1.172 GB, free: 15.49 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.827, allocations: 0 / 1.172 GB, free: 15.49 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.8271, allocations: 5.406 kB / 1.172 GB, free: 15.49 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001924/0.8272, allocations: 27.08 kB / 1.172 GB, free: 15.49 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.8273, allocations: 0 / 1.172 GB, free: 15.49 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001358/0.8274, allocations: 18.45 kB / 1.172 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.8274, allocations: 5.25 kB / 1.172 GB, free: 15.48 MB / 0.8887 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.496e-05/0.8275, allocations: 130 kB / 1.173 GB, free: 15.35 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.423e-05/0.8275, allocations: 8.625 kB / 1.173 GB, free: 15.35 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.559e-05/0.8276, allocations: 20.48 kB / 1.173 GB, free: 15.34 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.8276, allocations: 1.156 kB / 1.173 GB, free: 15.34 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.8276, allocations: 1.188 kB / 1.173 GB, free: 15.34 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.8276, allocations: 0 / 1.173 GB, free: 15.34 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007493/0.8284, allocations: 472.1 kB / 1.173 GB, free: 14.97 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.8284, allocations: 0 / 1.173 GB, free: 14.97 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001636/0.8286, allocations: 27.5 kB / 1.173 GB, free: 14.97 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-06/0.8286, allocations: 9.891 kB / 1.173 GB, free: 14.96 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.8286, allocations: 3.938 kB / 1.173 GB, free: 14.96 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.8286, allocations: 0 / 1.173 GB, free: 14.96 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.8286, allocations: 5.812 kB / 1.173 GB, free: 14.96 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004463/0.8291, allocations: 258.4 kB / 1.173 GB, free: 14.79 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 3.951e-05/0.8291, allocations: 85.8 kB / 1.173 GB, free: 14.69 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.134e-05/0.8291, allocations: 1.312 kB / 1.173 GB, free: 14.69 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001591/0.8293, allocations: 17.5 kB / 1.173 GB, free: 14.69 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.255e-05/0.8293, allocations: 11.56 kB / 1.173 GB, free: 14.68 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.8294, allocations: 1.031 kB / 1.173 GB, free: 14.68 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 6.625e-05/0.8294, allocations: 115.9 kB / 1.174 GB, free: 14.6 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8294, allocations: 1.531 kB / 1.174 GB, free: 14.6 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0002578/0.8297, allocations: 30.25 kB / 1.174 GB, free: 14.59 MB / 0.8887 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.000148/0.8299, allocations: 123.4 kB / 1.174 GB, free: 14.49 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0004557/0.8303, allocations: 123.2 kB / 1.174 GB, free: 14.46 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.8303, allocations: 0 / 1.174 GB, free: 14.46 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0002013/0.8305, allocations: 69.17 kB / 1.174 GB, free: 14.45 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003059/0.8309, allocations: 27.23 kB / 1.174 GB, free: 14.45 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005317/0.8314, allocations: 245.2 kB / 1.174 GB, free: 14.27 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002343/0.8316, allocations: 0.7022 MB / 1.175 GB, free: 13.57 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0001119/0.8318, allocations: 27.39 kB / 1.175 GB, free: 13.57 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.202e-05/0.8318, allocations: 17.97 kB / 1.175 GB, free: 13.55 MB / 0.8887 GB Notification: Performance of SimCode: time 3.21e-07/0.8318, allocations: 0 / 1.175 GB, free: 13.55 MB / 0.8887 GB Notification: Performance of Templates: time 0.004609/0.8364, allocations: 1.942 MB / 1.177 GB, free: 12.68 MB / 0.8887 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches