Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001519/0.001519, allocations: 186.3 kB / 22.22 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 225.6 MB / 251 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.601/2.601, allocations: 443.4 MB / 0.7321 GB, free: 12.33 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ntu.1.|ntu.2.|ntu.3.|ntu.4.|ntu.5.|ntu.6.",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ntu.1.|ntu.2.|ntu.3.|ntu.4.|ntu.5.|ntu.6.",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002281/0.002281, allocations: 67.88 kB / 1.061 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8543/0.8565, allocations: 160.8 MB / 1.218 GB, free: 4 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001794/0.8583, allocations: 0.608 MB / 1.219 GB, free: 3.547 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002881/0.8612, allocations: 1.75 MB / 1.221 GB, free: 2.16 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.354e-05/0.8613, allocations: 1.25 kB / 1.221 GB, free: 2.16 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.625e-05/0.8613, allocations: 3.938 kB / 1.221 GB, free: 2.156 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.581e-05/0.8613, allocations: 0 / 1.221 GB, free: 2.156 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001037/0.8624, allocations: 307.7 kB / 1.221 GB, free: 1.965 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002074/0.8626, allocations: 134.5 kB / 1.221 GB, free: 1.895 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.575e-05/0.8626, allocations: 2.344 kB / 1.221 GB, free: 1.895 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.078e-05/0.8627, allocations: 53.2 kB / 1.221 GB, free: 1.871 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001271/0.8628, allocations: 57.55 kB / 1.221 GB, free: 1.84 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.814e-05/0.8628, allocations: 5.219 kB / 1.221 GB, free: 1.84 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005525/0.8634, allocations: 344.5 kB / 1.222 GB, free: 1.656 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 6.395e-05/0.8635, allocations: 41.3 kB / 1.222 GB, free: 1.633 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.141e-05/0.8635, allocations: 44.91 kB / 1.222 GB, free: 1.602 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004116/0.8639, allocations: 274.7 kB / 1.222 GB, free: 1.438 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.864, allocations: 0 / 1.222 GB, free: 1.438 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.124e-06/0.864, allocations: 1.062 kB / 1.222 GB, free: 1.438 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.864, allocations: 0 / 1.222 GB, free: 1.438 MB / 0.92 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.0007075/0.8647, allocations: 450.6 kB / 1.222 GB, free: 1.008 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.8647, allocations: 9.25 kB / 1.222 GB, free: 1.008 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.172e-05/0.8648, allocations: 14.11 kB / 1.222 GB, free: 1 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.8649, allocations: 174.3 kB / 1.223 GB, free: 0.793 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.8649, allocations: 9.094 kB / 1.223 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.249e-05/0.8649, allocations: 16.34 kB / 1.223 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003559/0.8653, allocations: 218.9 kB / 1.223 GB, free: 0.6133 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.8653, allocations: 1.094 kB / 1.223 GB, free: 0.6133 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.1e-05/0.8653, allocations: 5.188 kB / 1.223 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.8653, allocations: 4.25 kB / 1.223 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003108/0.8656, allocations: 178.6 kB / 1.223 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003639/0.866, allocations: 290.6 kB / 1.223 GB, free: 232 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007988/0.8668, allocations: 381.4 kB / 1.224 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002436/0.867, allocations: 171 kB / 1.224 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003886/0.8674, allocations: 197 kB / 1.224 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/0.8675, allocations: 45.77 kB / 1.224 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=30): time 1.953e-06/0.8675, allocations: 0 / 1.224 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30): time 0.0007059/0.8682, allocations: 385 kB / 1.224 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/0.8683, allocations: 187.4 kB / 1.225 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.251e-05/0.8684, allocations: 96.02 kB / 1.225 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.451e-05/0.8684, allocations: 30.95 kB / 1.225 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.219e-05/0.8684, allocations: 80.64 kB / 1.225 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/0.8685, allocations: 103.8 kB / 1.225 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.786e-05/0.8686, allocations: 56.03 kB / 1.225 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.8688, allocations: 322.8 kB / 1.225 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001516/0.8689, allocations: 89.92 kB / 1.225 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002/0.8691, allocations: 147.2 kB / 1.226 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003913/0.8695, allocations: 255.2 kB / 1.226 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.8695, allocations: 1.5 kB / 1.226 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000456/0.87, allocations: 293.3 kB / 1.226 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.87, allocations: 13.33 kB / 1.226 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.87, allocations: 9.188 kB / 1.226 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.87, allocations: 6.656 kB / 1.226 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002325/0.8702, allocations: 49.81 kB / 1.226 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/0.8703, allocations: 6.75 kB / 1.226 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.969e-05/0.8704, allocations: 20.59 kB / 1.226 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.519e-05/0.8704, allocations: 16.8 kB / 1.226 GB, free: 14.03 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.0001283/0.8705, allocations: 136.5 kB / 1.226 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.728e-05/0.8705, allocations: 14.98 kB / 1.226 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006218/0.8712, allocations: 363.9 kB / 1.227 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.8712, allocations: 4.312 kB / 1.227 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.8712, allocations: 2.312 kB / 1.227 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.797e-06/0.8712, allocations: 5.172 kB / 1.227 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002719/0.8715, allocations: 257.8 kB / 1.227 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.8715, allocations: 5.094 kB / 1.227 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002232/0.8717, allocations: 54.31 kB / 1.227 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.8717, allocations: 2.375 kB / 1.227 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.803e-05/0.8717, allocations: 13.7 kB / 1.227 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.8717, allocations: 2.375 kB / 1.227 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.8717, allocations: 13.16 kB / 1.227 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004898/0.8722, allocations: 340.7 kB / 1.227 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001422/0.8724, allocations: 120 kB / 1.227 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.755e-05/0.8724, allocations: 6.625 kB / 1.227 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.885e-05/0.8725, allocations: 10.94 kB / 1.227 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.219e-05/0.8725, allocations: 26.02 kB / 1.227 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.493e-05/0.8726, allocations: 15.83 kB / 1.227 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.738e-05/0.8726, allocations: 76.31 kB / 1.228 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7.1e-08/0.8726, allocations: 0 / 1.228 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004239/0.873, allocations: 93.8 kB / 1.228 GB, free: 12.93 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.0005693/0.8736, allocations: 217.6 kB / 1.228 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004361/0.874, allocations: 240.3 kB / 1.228 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.874, allocations: 1.156 kB / 1.228 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001915/0.8742, allocations: 127.1 kB / 1.228 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001945/0.8744, allocations: 17.42 kB / 1.228 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006187/0.875, allocations: 355.1 kB / 1.229 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003458/0.8754, allocations: 0.7184 MB / 1.229 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002372/0.8756, allocations: 108.7 kB / 1.229 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.875e-05/0.8757, allocations: 29.64 kB / 1.229 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of SimCode: time 4.01e-07/0.8757, allocations: 0 / 1.229 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of Templates: time 0.006573/0.8823, allocations: 2.715 MB / 1.232 GB, free: 8.914 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.786367530934513]