Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001603/0.001603, allocations: 101.7 kB / 16.27 MB, free: 5.965 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.001755/0.001754, allocations: 191 kB / 17.2 MB, free: 5.59 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.432/1.432, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.473/2.473, allocations: 390.3 MB / 0.6653 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 62.05 kB / 0.8132 GB, free: 33.17 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3297/0.3311, allocations: 140.4 MB / 0.9503 GB, free: 8.871 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003792/0.335, allocations: 1.637 MB / 0.9519 GB, free: 7.219 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.7834/1.118, allocations: 151.6 MB / 1.1 GB, free: 5.344 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001361/1.119, allocations: 1.469 kB / 1.1 GB, free: 5.344 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001523/1.119, allocations: 18.91 kB / 1.1 GB, free: 5.344 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002627/1.119, allocations: 46.67 kB / 1.1 GB, free: 5.344 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005141/1.12, allocations: 144.2 kB / 1.1 GB, free: 5.34 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002018/1.12, allocations: 124.2 kB / 1.1 GB, free: 5.336 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/1.12, allocations: 31.08 kB / 1.1 GB, free: 5.328 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001135/1.121, allocations: 162.5 kB / 1.1 GB, free: 5.328 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.495e-05/1.121, allocations: 48.52 kB / 1.1 GB, free: 5.324 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.397e-05/1.121, allocations: 7.344 kB / 1.1 GB, free: 5.324 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004571/1.122, allocations: 186.1 kB / 1.101 GB, free: 5.316 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.94e-05/1.122, allocations: 21.19 kB / 1.101 GB, free: 5.316 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.284e-05/1.122, allocations: 42.97 kB / 1.101 GB, free: 5.316 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004059/1.122, allocations: 184.6 kB / 1.101 GB, free: 5.305 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/1.122, allocations: 0 / 1.101 GB, free: 5.305 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.754e-06/1.122, allocations: 0.75 kB / 1.101 GB, free: 5.305 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.939e-06/1.122, allocations: 0 / 1.101 GB, free: 5.305 MB / 0.8575 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.0008344/1.123, allocations: 448 kB / 1.101 GB, free: 20.91 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/1.123, allocations: 13.72 kB / 1.101 GB, free: 20.9 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009687/1.124, allocations: 77.83 kB / 1.101 GB, free: 20.89 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002383/1.124, allocations: 212.4 kB / 1.102 GB, free: 20.68 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/1.124, allocations: 10.91 kB / 1.102 GB, free: 20.68 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.171e-05/1.124, allocations: 5.25 kB / 1.102 GB, free: 20.68 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004642/1.125, allocations: 133.2 kB / 1.102 GB, free: 20.65 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/1.125, allocations: 0.5938 kB / 1.102 GB, free: 20.65 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.105e-05/1.125, allocations: 10.98 kB / 1.102 GB, free: 20.64 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/1.125, allocations: 5.594 kB / 1.102 GB, free: 20.64 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005794/1.126, allocations: 134.5 kB / 1.102 GB, free: 20.64 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008089/1.126, allocations: 414.1 kB / 1.102 GB, free: 20.36 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007392/1.127, allocations: 254.7 kB / 1.102 GB, free: 20.23 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000252/1.127, allocations: 77.66 kB / 1.103 GB, free: 20.22 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.543e-05/1.127, allocations: 1.906 kB / 1.103 GB, free: 20.22 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/1.127, allocations: 33.81 kB / 1.103 GB, free: 20.18 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=8): time 2.185e-06/1.128, allocations: 0.7812 kB / 1.103 GB, free: 20.18 MB / 0.8731 GB Notification: Performance of matching and sorting (n=8): time 0.0008345/1.128, allocations: 212.9 kB / 1.103 GB, free: 20.14 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/1.128, allocations: 54.69 kB / 1.103 GB, free: 20.08 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/1.129, allocations: 148 kB / 1.103 GB, free: 19.98 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/1.129, allocations: 26.48 kB / 1.103 GB, free: 19.95 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 6.691e-05/1.129, allocations: 103.1 kB / 1.103 GB, free: 19.87 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.621e-05/1.129, allocations: 29.02 kB / 1.103 GB, free: 19.85 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.994e-05/1.129, allocations: 27.58 kB / 1.103 GB, free: 19.83 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001447/1.129, allocations: 328.8 kB / 1.103 GB, free: 19.52 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00023/1.129, allocations: 50.81 kB / 1.104 GB, free: 19.52 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002455/1.129, allocations: 78.64 kB / 1.104 GB, free: 19.49 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000462/1.13, allocations: 121.9 kB / 1.104 GB, free: 19.48 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/1.13, allocations: 0.6094 kB / 1.104 GB, free: 19.48 MB / 0.8731 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005403/1.13, allocations: 157.9 kB / 1.104 GB, free: 19.44 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/1.13, allocations: 5.016 kB / 1.104 GB, free: 19.44 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/1.13, allocations: 1.125 kB / 1.104 GB, free: 19.44 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/1.13, allocations: 0 / 1.104 GB, free: 19.44 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002299/1.131, allocations: 40.34 kB / 1.104 GB, free: 19.43 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/1.131, allocations: 5.875 kB / 1.104 GB, free: 19.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001593/1.131, allocations: 18.55 kB / 1.104 GB, free: 19.43 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.497e-05/1.131, allocations: 3.297 kB / 1.104 GB, free: 19.43 MB / 0.8731 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 0.0001011/1.131, allocations: 127.4 kB / 1.104 GB, free: 19.31 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.906e-05/1.131, allocations: 8.031 kB / 1.104 GB, free: 19.3 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.675e-05/1.131, allocations: 20.25 kB / 1.104 GB, free: 19.3 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/1.131, allocations: 1.062 kB / 1.104 GB, free: 19.3 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/1.131, allocations: 1 kB / 1.104 GB, free: 19.3 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/1.131, allocations: 0.6094 kB / 1.104 GB, free: 19.3 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008894/1.132, allocations: 471.3 kB / 1.105 GB, free: 18.99 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/1.132, allocations: 0.5625 kB / 1.105 GB, free: 18.99 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001919/1.132, allocations: 31.83 kB / 1.105 GB, free: 18.99 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/1.132, allocations: 0 / 1.105 GB, free: 18.99 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/1.132, allocations: 3.703 kB / 1.105 GB, free: 18.99 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/1.132, allocations: 0.7031 kB / 1.105 GB, free: 18.99 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/1.132, allocations: 5.094 kB / 1.105 GB, free: 18.99 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000568/1.133, allocations: 255.7 kB / 1.105 GB, free: 18.85 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 4.872e-05/1.133, allocations: 85.02 kB / 1.105 GB, free: 18.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.667e-05/1.133, allocations: 1.531 kB / 1.105 GB, free: 18.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001755/1.133, allocations: 17.8 kB / 1.105 GB, free: 18.75 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.361e-05/1.133, allocations: 14.3 kB / 1.105 GB, free: 18.75 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/1.133, allocations: 2.766 kB / 1.105 GB, free: 18.75 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 8.991e-05/1.133, allocations: 121.8 kB / 1.105 GB, free: 18.67 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/1.133, allocations: 1.203 kB / 1.105 GB, free: 18.67 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002956/1.134, allocations: 24 kB / 1.105 GB, free: 18.67 MB / 0.8731 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.0001959/1.134, allocations: 119 kB / 1.105 GB, free: 18.57 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005385/1.134, allocations: 129.1 kB / 1.105 GB, free: 18.57 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/1.134, allocations: 1.062 kB / 1.105 GB, free: 18.57 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002421/1.135, allocations: 65.95 kB / 1.105 GB, free: 18.57 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003666/1.135, allocations: 37.33 kB / 1.105 GB, free: 18.56 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006433/1.136, allocations: 267.1 kB / 1.106 GB, free: 18.38 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002831/1.136, allocations: 0.6998 MB / 1.106 GB, free: 17.69 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.679e-05/1.136, allocations: 18.84 kB / 1.106 GB, free: 17.68 MB / 0.8731 GB Notification: Performance of SimCode: time 2.5e-07/1.136, allocations: 4 kB / 1.106 GB, free: 17.68 MB / 0.8731 GB Notification: Performance of Templates: time 0.004006/1.14, allocations: 1.711 MB / 1.108 GB, free: 17.57 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches