Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.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.Phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phi.phi",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phi.phi",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001631/0.001631, allocations: 110.1 kB / 16.41 MB, free: 6.508 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.001845/0.001845, allocations: 187 kB / 17.34 MB, free: 5.742 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.499/1.499, allocations: 222.9 MB / 241 MB, free: 15.2 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.442/2.442, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 67.83 kB / 0.9515 GB, free: 7.695 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.001/1.002, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002539/1.005, allocations: 1.493 MB / 1.09 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001163/1.006, allocations: 0.8056 MB / 1.091 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.727e-05/1.006, allocations: 0.9375 kB / 1.091 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.744e-05/1.006, allocations: 4.641 kB / 1.091 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.333e-05/1.006, allocations: 15.09 kB / 1.091 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005072/1.007, allocations: 125.6 kB / 1.091 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.957e-05/1.007, allocations: 52.23 kB / 1.091 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/1.007, allocations: 16.75 kB / 1.091 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.266e-05/1.007, allocations: 18.86 kB / 1.091 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.868e-05/1.007, allocations: 29.28 kB / 1.091 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/1.007, allocations: 8.172 kB / 1.091 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003898/1.008, allocations: 169.5 kB / 1.091 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.656e-05/1.008, allocations: 7.203 kB / 1.091 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.404e-05/1.008, allocations: 23.36 kB / 1.091 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003096/1.008, allocations: 146.9 kB / 1.091 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/1.008, allocations: 0.7969 kB / 1.091 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.204e-06/1.008, allocations: 1.125 kB / 1.091 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.182e-06/1.008, allocations: 4 kB / 1.091 GB, free: 3.695 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005112/1.008, allocations: 397.2 kB / 1.092 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/1.009, allocations: 13.31 kB / 1.092 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.779e-05/1.009, allocations: 8.109 kB / 1.092 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.555e-05/1.009, allocations: 176.2 kB / 1.092 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-06/1.009, allocations: 5.406 kB / 1.092 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.482e-05/1.009, allocations: 3.219 kB / 1.092 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002637/1.009, allocations: 76.02 kB / 1.092 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/1.009, allocations: 192 / 1.092 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/1.009, allocations: 12.64 kB / 1.092 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/1.009, allocations: 1.406 kB / 1.092 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003129/1.009, allocations: 73.73 kB / 1.092 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003427/1.01, allocations: 282.8 kB / 1.092 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000204/1.01, allocations: 54.91 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001611/1.01, allocations: 38.16 kB / 1.093 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001641/1.01, allocations: 92.7 kB / 1.093 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.643e-05/1.01, allocations: 36.59 kB / 1.093 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/1.01, allocations: 0 / 1.093 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005726/1.011, allocations: 125.2 kB / 1.093 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.456e-05/1.011, allocations: 56 kB / 1.093 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.703e-05/1.011, allocations: 117.4 kB / 1.093 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.948e-06/1.011, allocations: 26.55 kB / 1.093 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.293e-05/1.011, allocations: 91.91 kB / 1.093 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.918e-05/1.011, allocations: 14.73 kB / 1.093 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.987e-05/1.011, allocations: 12.41 kB / 1.093 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.42e-05/1.011, allocations: 322.7 kB / 1.093 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/1.011, allocations: 34.83 kB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001441/1.011, allocations: 31.66 kB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002927/1.012, allocations: 70.08 kB / 1.094 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/1.012, allocations: 1.984 kB / 1.094 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003224/1.012, allocations: 98.27 kB / 1.094 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/1.012, allocations: 5.688 kB / 1.094 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/1.012, allocations: 0 / 1.094 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/1.012, allocations: 1.766 kB / 1.094 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/1.012, allocations: 15.48 kB / 1.094 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/1.012, allocations: 4.766 kB / 1.094 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.252e-05/1.012, allocations: 15.08 kB / 1.094 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-06/1.012, allocations: 5.672 kB / 1.094 GB, free: 1.773 MB / 0.8575 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 5.845e-05/1.012, allocations: 116.5 kB / 1.094 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.921e-05/1.013, allocations: 11.39 kB / 1.094 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003715/1.013, allocations: 109.3 kB / 1.094 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/1.013, allocations: 4.625 kB / 1.094 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/1.013, allocations: 4.641 kB / 1.094 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/1.013, allocations: 0.75 kB / 1.094 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001401/1.013, allocations: 173.4 kB / 1.094 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/1.013, allocations: 0 / 1.094 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.903e-05/1.013, allocations: 16.69 kB / 1.094 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/1.013, allocations: 384 / 1.094 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/1.013, allocations: 0.625 kB / 1.094 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/1.013, allocations: 1.531 kB / 1.094 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/1.013, allocations: 0 / 1.094 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000354/1.014, allocations: 211.4 kB / 1.094 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.31e-05/1.014, allocations: 79.09 kB / 1.094 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.73e-05/1.014, allocations: 1.516 kB / 1.094 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/1.014, allocations: 11.73 kB / 1.094 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.951e-05/1.014, allocations: 7.953 kB / 1.094 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/1.014, allocations: 0.8125 kB / 1.094 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.037e-05/1.014, allocations: 96.27 kB / 1.094 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/1.014, allocations: 0 / 1.094 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002984/1.014, allocations: 31.2 kB / 1.094 GB, free: 1.031 MB / 0.8575 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.0002156/1.014, allocations: 127.4 kB / 1.095 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000357/1.015, allocations: 74.89 kB / 1.095 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/1.015, allocations: 0.8125 kB / 1.095 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001554/1.015, allocations: 39.28 kB / 1.095 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003275/1.015, allocations: 9.516 kB / 1.095 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003441/1.016, allocations: 183.8 kB / 1.095 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001322/1.016, allocations: 0.6827 MB / 1.096 GB, free: 48 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.24e-05/1.016, allocations: 9.969 kB / 1.096 GB, free: 40 kB / 0.8575 GB Notification: Performance of SimCode: time 7.32e-07/1.016, allocations: 0.5938 kB / 1.096 GB, free: 40 kB / 0.8575 GB Notification: Performance of Templates: time 0.00343/1.019, allocations: 1.222 MB / 1.097 GB, free: 15.92 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches