Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phi.phi",fileNamePrefix="Buildings_10_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_10_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.001143/0.001143, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001612/0.001612, allocations: 186.5 kB / 16.92 MB, free: 6.77 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.357/1.357, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.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.589/2.589, allocations: 437.8 MB / 0.7128 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003773/0.0003774, allocations: 8 kB / 0.8735 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7808/0.7811, allocations: 153.8 MB / 1.024 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.001723/0.7829, allocations: 1.211 MB / 1.025 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001345/0.7843, allocations: 0.8148 MB / 1.026 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.777e-05/0.7843, allocations: 4 kB / 1.026 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.72e-05/0.7844, allocations: 0 / 1.026 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.509e-05/0.7844, allocations: 11.86 kB / 1.026 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004684/0.7849, allocations: 107.6 kB / 1.026 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.633e-05/0.785, allocations: 51.84 kB / 1.026 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.018e-05/0.7851, allocations: 11.98 kB / 1.026 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.283e-05/0.7852, allocations: 19.92 kB / 1.026 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.365e-05/0.7853, allocations: 19.92 kB / 1.026 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.427e-05/0.7853, allocations: 0 / 1.026 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003401/0.7856, allocations: 183.6 kB / 1.026 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.993e-05/0.7857, allocations: 11.92 kB / 1.026 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.261e-05/0.7857, allocations: 45.56 kB / 1.026 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002176/0.7859, allocations: 101.8 kB / 1.026 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.7859, allocations: 0 / 1.026 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.425e-06/0.786, allocations: 3.938 kB / 1.026 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.95e-06/0.786, allocations: 0 / 1.026 GB, free: 13.23 MB / 0.7794 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.0006065/0.7866, allocations: 403.2 kB / 1.027 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.7866, allocations: 8.031 kB / 1.027 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.841e-05/0.7867, allocations: 8.938 kB / 1.027 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.7868, allocations: 172.2 kB / 1.027 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.7868, allocations: 8.359 kB / 1.027 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.519e-05/0.7869, allocations: 4.359 kB / 1.027 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002986/0.7872, allocations: 90.2 kB / 1.027 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.7872, allocations: 4.125 kB / 1.027 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.7872, allocations: 3.938 kB / 1.027 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.7872, allocations: 0 / 1.027 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003348/0.7876, allocations: 99.86 kB / 1.027 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004223/0.788, allocations: 280.7 kB / 1.027 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002304/0.7882, allocations: 62.55 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000175/0.7884, allocations: 52.91 kB / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001867/0.7886, allocations: 93.09 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.7887, allocations: 34.5 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.7887, allocations: 0 / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0006113/0.7893, allocations: 165.6 kB / 1.028 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.7893, allocations: 51.41 kB / 1.028 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.7894, allocations: 113.8 kB / 1.028 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.7894, allocations: 25.7 kB / 1.028 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.865e-05/0.7895, allocations: 96.05 kB / 1.028 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.42e-05/0.7895, allocations: 15.83 kB / 1.028 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-05/0.7896, allocations: 13.72 kB / 1.028 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.7897, allocations: 318.8 kB / 1.028 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001623/0.7898, allocations: 43.95 kB / 1.028 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001489/0.79, allocations: 47.91 kB / 1.028 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003025/0.7903, allocations: 88.78 kB / 1.028 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.7903, allocations: 0 / 1.028 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003522/0.7907, allocations: 121.5 kB / 1.029 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.7907, allocations: 8 kB / 1.029 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.7907, allocations: 3.938 kB / 1.029 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.7907, allocations: 0 / 1.029 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.7909, allocations: 27.97 kB / 1.029 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.7909, allocations: 3.984 kB / 1.029 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.14e-05/0.791, allocations: 15.98 kB / 1.029 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.791, allocations: 0 / 1.029 GB, free: 10.55 MB / 0.7794 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 7.873e-05/0.7911, allocations: 122.2 kB / 1.029 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.567e-05/0.7911, allocations: 4 kB / 1.029 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004014/0.7915, allocations: 129.5 kB / 1.029 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.7915, allocations: 4.312 kB / 1.029 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.7915, allocations: 0 / 1.029 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.7916, allocations: 0 / 1.029 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/0.7917, allocations: 177.6 kB / 1.029 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.7917, allocations: 0 / 1.029 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.7918, allocations: 23.97 kB / 1.029 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.7919, allocations: 7.984 kB / 1.029 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.7919, allocations: 0 / 1.029 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.7919, allocations: 0 / 1.029 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.7919, allocations: 0 / 1.029 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004024/0.7923, allocations: 223.3 kB / 1.029 GB, free: 9.793 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.801e-05/0.7923, allocations: 85.02 kB / 1.029 GB, free: 9.691 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.7924, allocations: 3.984 kB / 1.029 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.7925, allocations: 19.98 kB / 1.029 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.904e-05/0.7925, allocations: 0 / 1.029 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.7925, allocations: 8 kB / 1.029 GB, free: 9.66 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.448e-05/0.7926, allocations: 91.27 kB / 1.029 GB, free: 9.57 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7926, allocations: 0 / 1.029 GB, free: 9.57 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002746/0.7929, allocations: 35.94 kB / 1.029 GB, free: 9.535 MB / 0.7794 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.0002095/0.7931, allocations: 131.3 kB / 1.03 GB, free: 9.395 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003671/0.7935, allocations: 95.86 kB / 1.03 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.7935, allocations: 4 kB / 1.03 GB, free: 9.297 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001658/0.7937, allocations: 43.95 kB / 1.03 GB, free: 9.254 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002953/0.794, allocations: 15.94 kB / 1.03 GB, free: 9.238 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003447/0.7943, allocations: 196.2 kB / 1.03 GB, free: 9.016 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00022/0.7946, allocations: 0.6848 MB / 1.031 GB, free: 8.305 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.124e-05/0.7946, allocations: 7.438 kB / 1.031 GB, free: 8.297 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.7946, allocations: 0 / 1.031 GB, free: 8.297 MB / 0.7794 GB Notification: Performance of Templates: time 0.002979/0.7976, allocations: 1.207 MB / 1.032 GB, free: 7.098 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches