Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ntu.1.|ntu.2.|ntu.3.|ntu.4.|ntu.5.|ntu.6.",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ntu.1.|ntu.2.|ntu.3.|ntu.4.|ntu.5.|ntu.6.",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001554/0.001554, allocations: 105.8 kB / 16.41 MB, free: 6.465 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.001589/0.00159, allocations: 187 kB / 17.34 MB, free: 5.719 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.45/1.45, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.78/2.78, allocations: 461.9 MB / 0.7355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 63.91 kB / 1.055 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9756/0.9771, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.002121/0.9793, allocations: 0.5992 MB / 1.209 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002844/0.9822, allocations: 1.724 MB / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.005e-05/0.9822, allocations: 0 / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.826e-05/0.9823, allocations: 3.938 kB / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.509e-05/0.9823, allocations: 0 / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001159/0.9835, allocations: 302.6 kB / 1.211 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002091/0.9837, allocations: 135.8 kB / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.745e-05/0.9838, allocations: 0 / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.9839, allocations: 47.95 kB / 1.211 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001411/0.984, allocations: 59.86 kB / 1.211 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.473e-05/0.9841, allocations: 4 kB / 1.211 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006524/0.9847, allocations: 343.2 kB / 1.212 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 6.494e-05/0.9848, allocations: 39.89 kB / 1.212 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 7.372e-05/0.9849, allocations: 47.78 kB / 1.212 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005168/0.9854, allocations: 275.1 kB / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.9854, allocations: 0 / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.424e-06/0.9854, allocations: 0 / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.267e-05/0.9855, allocations: 0 / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0007912/0.9863, allocations: 449.1 kB / 1.212 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.9863, allocations: 12.03 kB / 1.212 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.645e-05/0.9864, allocations: 12.75 kB / 1.212 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.9865, allocations: 172.3 kB / 1.213 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.29e-05/0.9865, allocations: 8.375 kB / 1.213 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.893e-05/0.9866, allocations: 16.12 kB / 1.213 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003794/0.987, allocations: 223.9 kB / 1.213 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.987, allocations: 3.984 kB / 1.213 GB, free: 9.082 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.533e-05/0.987, allocations: 8 kB / 1.213 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.987, allocations: 0 / 1.213 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002912/0.9873, allocations: 175.8 kB / 1.213 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003707/0.9877, allocations: 286 kB / 1.213 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007842/0.9885, allocations: 407.8 kB / 1.214 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002468/0.9888, allocations: 189.1 kB / 1.214 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004252/0.9892, allocations: 195.2 kB / 1.214 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.803e-05/0.9892, allocations: 46.5 kB / 1.214 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=30): time 2.094e-06/0.9893, allocations: 0 / 1.214 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30): time 0.0006941/0.99, allocations: 377.2 kB / 1.214 GB, free: 7.242 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001134/0.9901, allocations: 195.8 kB / 1.215 GB, free: 7.008 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.605e-05/0.9902, allocations: 89.86 kB / 1.215 GB, free: 6.91 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.942e-05/0.9902, allocations: 33.7 kB / 1.215 GB, free: 6.871 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.164e-05/0.9902, allocations: 84.83 kB / 1.215 GB, free: 6.785 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.000101/0.9903, allocations: 98.55 kB / 1.215 GB, free: 6.688 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.188e-05/0.9904, allocations: 57.69 kB / 1.215 GB, free: 6.625 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.9906, allocations: 318.8 kB / 1.215 GB, free: 6.305 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00015/0.9907, allocations: 91.92 kB / 1.215 GB, free: 6.215 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001699/0.9909, allocations: 135.1 kB / 1.215 GB, free: 6.066 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003744/0.9913, allocations: 261 kB / 1.216 GB, free: 5.793 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.9913, allocations: 3.938 kB / 1.216 GB, free: 5.789 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004689/0.9918, allocations: 301.3 kB / 1.216 GB, free: 5.488 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.9918, allocations: 4 kB / 1.216 GB, free: 5.484 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.9918, allocations: 4 kB / 1.216 GB, free: 5.48 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.9918, allocations: 0 / 1.216 GB, free: 5.48 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002344/0.9921, allocations: 55.95 kB / 1.216 GB, free: 5.426 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.347e-05/0.9921, allocations: 3.938 kB / 1.216 GB, free: 5.422 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/0.9922, allocations: 27.78 kB / 1.216 GB, free: 5.395 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.323e-05/0.9922, allocations: 11.98 kB / 1.216 GB, free: 5.383 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (30): * Single equations (assignments): 30 * 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.0001338/0.9924, allocations: 137.8 kB / 1.216 GB, free: 5.238 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.055e-05/0.9924, allocations: 15.78 kB / 1.216 GB, free: 5.223 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006324/0.9931, allocations: 364.7 kB / 1.217 GB, free: 4.859 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.9931, allocations: 4 kB / 1.217 GB, free: 4.855 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.9931, allocations: 4.562 kB / 1.217 GB, free: 4.852 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.84e-06/0.9931, allocations: 4 kB / 1.217 GB, free: 4.848 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002588/0.9934, allocations: 257.3 kB / 1.217 GB, free: 4.547 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.9934, allocations: 0 / 1.217 GB, free: 4.547 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002187/0.9936, allocations: 67.88 kB / 1.217 GB, free: 4.48 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.193e-06/0.9936, allocations: 4 kB / 1.217 GB, free: 4.477 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.31e-05/0.9937, allocations: 11.98 kB / 1.217 GB, free: 4.465 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.9937, allocations: 3.938 kB / 1.217 GB, free: 4.461 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.9937, allocations: 4 kB / 1.217 GB, free: 4.457 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004696/0.9941, allocations: 341.1 kB / 1.217 GB, free: 4.09 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.9943, allocations: 108.9 kB / 1.217 GB, free: 3.965 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.243e-05/0.9943, allocations: 11.98 kB / 1.217 GB, free: 3.953 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.314e-05/0.9944, allocations: 8 kB / 1.217 GB, free: 3.945 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.341e-05/0.9945, allocations: 31.91 kB / 1.217 GB, free: 3.914 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.162e-05/0.9945, allocations: 15.98 kB / 1.217 GB, free: 3.898 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.707e-05/0.9945, allocations: 75.28 kB / 1.217 GB, free: 3.824 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9945, allocations: 0 / 1.217 GB, free: 3.824 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004302/0.995, allocations: 91.98 kB / 1.218 GB, free: 3.734 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (30): * Single equations (assignments): 30 * 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.0005775/0.9956, allocations: 210.4 kB / 1.218 GB, free: 3.523 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004434/0.996, allocations: 260.2 kB / 1.218 GB, free: 3.27 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.996, allocations: 0 / 1.218 GB, free: 3.27 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001913/0.9962, allocations: 140.7 kB / 1.218 GB, free: 3.133 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002003/0.9964, allocations: 15.98 kB / 1.218 GB, free: 3.117 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006091/0.997, allocations: 392.2 kB / 1.219 GB, free: 2.688 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003067/0.9974, allocations: 0.7124 MB / 1.219 GB, free: 1.949 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.648e-05/0.9975, allocations: 35.41 kB / 1.219 GB, free: 1.914 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/0.9975, allocations: 0 / 1.219 GB, free: 1.914 MB / 0.9356 GB Notification: Performance of Templates: time 0.005747/1.003, allocations: 2.898 MB / 1.222 GB, free: 15.01 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches