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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001035/0.001035, allocations: 92.16 kB / 16.02 MB, free: 80 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.001481/0.001481, allocations: 181.6 kB / 16.92 MB, free: 6.922 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.386/1.386, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.737/2.737, allocations: 462.6 MB / 0.7371 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005619/0.0005621, allocations: 10.91 kB / 0.9034 GB, free: 36.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4189/0.4195, allocations: 159.6 MB / 1.059 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.0009237/0.4205, allocations: 334.7 kB / 1.06 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00297/0.4235, allocations: 1.774 MB / 1.061 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.624e-05/0.4236, allocations: 0 / 1.061 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.593e-05/0.4236, allocations: 0 / 1.061 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.156e-05/0.4237, allocations: 0 / 1.061 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001036/0.4247, allocations: 246.1 kB / 1.062 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000186/0.4249, allocations: 123.8 kB / 1.062 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6e-05/0.425, allocations: 4 kB / 1.062 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.4251, allocations: 47.91 kB / 1.062 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001319/0.4252, allocations: 55.92 kB / 1.062 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.523e-05/0.4253, allocations: 4 kB / 1.062 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000591/0.4259, allocations: 291.6 kB / 1.062 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.733e-05/0.4259, allocations: 43.91 kB / 1.062 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.815e-05/0.426, allocations: 69.42 kB / 1.062 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003765/0.4264, allocations: 183.7 kB / 1.062 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.4264, allocations: 0 / 1.062 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.425e-06/0.4264, allocations: 0 / 1.062 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.4264, allocations: 0 / 1.062 GB, free: 1.805 MB / 0.8106 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.0007487/0.4272, allocations: 427.6 kB / 1.063 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.4272, allocations: 15.97 kB / 1.063 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.722e-05/0.4273, allocations: 8.844 kB / 1.063 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.4274, allocations: 168.3 kB / 1.063 GB, free: 1.113 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.4275, allocations: 8.375 kB / 1.063 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.61e-05/0.4275, allocations: 16.12 kB / 1.063 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003693/0.4279, allocations: 218.6 kB / 1.063 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.4279, allocations: 0 / 1.063 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.674e-05/0.4279, allocations: 8 kB / 1.063 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.428, allocations: 4 kB / 1.063 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002753/0.4282, allocations: 179.7 kB / 1.063 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003514/0.4286, allocations: 282 kB / 1.064 GB, free: 332 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007687/0.4294, allocations: 415.7 kB / 1.064 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002308/0.4296, allocations: 189.1 kB / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003656/0.43, allocations: 191.1 kB / 1.064 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/0.43, allocations: 46.5 kB / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=30): time 1.503e-06/0.43, allocations: 0 / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30): time 0.0006728/0.4307, allocations: 386.6 kB / 1.065 GB, free: 15 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.548e-05/0.4308, allocations: 187.9 kB / 1.065 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.381e-05/0.4309, allocations: 89.86 kB / 1.065 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.002e-05/0.4309, allocations: 33.7 kB / 1.065 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.899e-05/0.431, allocations: 88.69 kB / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.000106/0.4311, allocations: 98.69 kB / 1.065 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-05/0.4312, allocations: 29.7 kB / 1.065 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.4313, allocations: 322.8 kB / 1.066 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001373/0.4314, allocations: 79.94 kB / 1.066 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001757/0.4316, allocations: 146.6 kB / 1.066 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003644/0.432, allocations: 264.9 kB / 1.066 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.432, allocations: 0 / 1.066 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004356/0.4325, allocations: 293.2 kB / 1.066 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.4325, allocations: 5.562 kB / 1.066 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.024e-06/0.4325, allocations: 4 kB / 1.066 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.4325, allocations: 4 kB / 1.066 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002246/0.4328, allocations: 55.91 kB / 1.066 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.472e-05/0.4328, allocations: 7.984 kB / 1.066 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.795e-05/0.4329, allocations: 15.84 kB / 1.066 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.099e-05/0.4329, allocations: 12 kB / 1.066 GB, free: 13.18 MB / 0.8262 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.0001294/0.433, allocations: 137.8 kB / 1.067 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.947e-05/0.4331, allocations: 19.75 kB / 1.067 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005906/0.4337, allocations: 361.3 kB / 1.067 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.4337, allocations: 8 kB / 1.067 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.4337, allocations: 0 / 1.067 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.4337, allocations: 3.984 kB / 1.067 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002596/0.434, allocations: 261.3 kB / 1.067 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/0.434, allocations: 4 kB / 1.067 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002139/0.4342, allocations: 55.91 kB / 1.067 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.215e-06/0.4342, allocations: 7.984 kB / 1.067 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.329e-05/0.4343, allocations: 8 kB / 1.067 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.4343, allocations: 7.938 kB / 1.067 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.4343, allocations: 0 / 1.067 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004774/0.4348, allocations: 349.5 kB / 1.068 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.4349, allocations: 120.9 kB / 1.068 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.636e-05/0.4349, allocations: 4 kB / 1.068 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.151e-05/0.435, allocations: 11.94 kB / 1.068 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.258e-05/0.4351, allocations: 27.95 kB / 1.068 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.829e-05/0.4351, allocations: 12 kB / 1.068 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.532e-05/0.4351, allocations: 75.28 kB / 1.068 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.01e-07/0.4351, allocations: 0 / 1.068 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004524/0.4356, allocations: 99.98 kB / 1.068 GB, free: 11.52 MB / 0.8262 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.0005819/0.4362, allocations: 213.8 kB / 1.068 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004029/0.4366, allocations: 251.8 kB / 1.068 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.4366, allocations: 0 / 1.068 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001748/0.4368, allocations: 139.8 kB / 1.069 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001938/0.437, allocations: 18.39 kB / 1.069 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005826/0.4376, allocations: 418 kB / 1.069 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002803/0.4379, allocations: 0.7205 MB / 1.07 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.489e-05/0.438, allocations: 35.41 kB / 1.07 GB, free: 9.668 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.438, allocations: 3.938 kB / 1.07 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of Templates: time 0.005649/0.4436, allocations: 2.876 MB / 1.073 GB, free: 6.785 MB / 0.8262 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