Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hASin.hA",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hASin.hA",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 97.78 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.001524/0.001524, allocations: 182 kB / 16.92 MB, free: 6.914 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.459/1.459, allocations: 223.3 MB / 241 MB, free: 5.352 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.663/2.663, allocations: 437.8 MB / 0.7128 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003678/0.0003681, allocations: 8 kB / 0.8735 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7668/0.7672, allocations: 153.8 MB / 1.024 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.00209/0.7694, allocations: 1.329 MB / 1.025 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001671/0.7711, allocations: 0.9204 MB / 1.026 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.308e-05/0.7712, allocations: 0 / 1.026 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.921e-05/0.7712, allocations: 3.938 kB / 1.026 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000215/0.7715, allocations: 19.84 kB / 1.026 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004435/0.7719, allocations: 105.4 kB / 1.026 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001615/0.7721, allocations: 71.72 kB / 1.026 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.7722, allocations: 4 kB / 1.026 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.7723, allocations: 31.84 kB / 1.026 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.7725, allocations: 35.84 kB / 1.026 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.7725, allocations: 0 / 1.026 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004505/0.773, allocations: 287.7 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.29e-05/0.773, allocations: 7.922 kB / 1.026 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.124e-05/0.7731, allocations: 61.44 kB / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002015/0.7733, allocations: 93.8 kB / 1.027 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.7733, allocations: 4 kB / 1.027 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.915e-06/0.7733, allocations: 0 / 1.027 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.7733, allocations: 0 / 1.027 GB, free: 12.83 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.0006001/0.7739, allocations: 403.2 kB / 1.027 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.774, allocations: 8.031 kB / 1.027 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001445/0.7741, allocations: 8.844 kB / 1.027 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001912/0.7743, allocations: 188.2 kB / 1.027 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.7743, allocations: 8.312 kB / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.605e-05/0.7744, allocations: 4.375 kB / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001973/0.7746, allocations: 69.97 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.7746, allocations: 7.984 kB / 1.027 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.7746, allocations: 4 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.7746, allocations: 0 / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001598/0.7748, allocations: 47.97 kB / 1.027 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004757/0.7753, allocations: 300.7 kB / 1.028 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001551/0.7754, allocations: 58.5 kB / 1.028 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.657e-05/0.7755, allocations: 28.97 kB / 1.028 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.7755, allocations: 8 kB / 1.028 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.406e-05/0.7756, allocations: 38.55 kB / 1.028 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.7756, allocations: 0 / 1.028 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.0003952/0.776, allocations: 117.6 kB / 1.028 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.776, allocations: 55.34 kB / 1.028 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.7761, allocations: 135.8 kB / 1.028 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.7762, allocations: 29.7 kB / 1.028 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.67e-05/0.7762, allocations: 100.1 kB / 1.028 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.959e-05/0.7763, allocations: 11.81 kB / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.859e-05/0.7763, allocations: 13.72 kB / 1.028 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.7764, allocations: 326.8 kB / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.072e-05/0.7765, allocations: 27.98 kB / 1.029 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.024e-05/0.7766, allocations: 23.98 kB / 1.029 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001672/0.7768, allocations: 65.2 kB / 1.029 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.7768, allocations: 0 / 1.029 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002476/0.777, allocations: 109.5 kB / 1.029 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.004e-05/0.7771, allocations: 4 kB / 1.029 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.7771, allocations: 0 / 1.029 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.7771, allocations: 0 / 1.029 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.7772, allocations: 19.98 kB / 1.029 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.7773, allocations: 0 / 1.029 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.464e-05/0.7773, allocations: 8 kB / 1.029 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.7773, allocations: 0 / 1.029 GB, free: 10.43 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 (6): * Single equations (assignments): 6 * 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 9.526e-05/0.7774, allocations: 121.7 kB / 1.029 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.805e-05/0.7775, allocations: 11.89 kB / 1.029 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002865/0.7778, allocations: 109.9 kB / 1.029 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.7778, allocations: 0 / 1.029 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.7778, allocations: 0 / 1.029 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.7778, allocations: 4 kB / 1.029 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002089/0.7781, allocations: 193.6 kB / 1.029 GB, free: 9.926 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.7781, allocations: 0 / 1.029 GB, free: 9.926 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.606e-05/0.7782, allocations: 15.98 kB / 1.029 GB, free: 9.91 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.7782, allocations: 4 kB / 1.029 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.7782, allocations: 0 / 1.029 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.7782, allocations: 4 kB / 1.029 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.7782, allocations: 0 / 1.029 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002852/0.7785, allocations: 199.4 kB / 1.029 GB, free: 9.691 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.672e-05/0.7785, allocations: 81.02 kB / 1.029 GB, free: 9.594 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.7786, allocations: 7.938 kB / 1.029 GB, free: 9.586 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.353e-05/0.7787, allocations: 4 kB / 1.029 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.689e-05/0.7787, allocations: 8.172 kB / 1.029 GB, free: 9.574 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.7787, allocations: 11.94 kB / 1.029 GB, free: 9.562 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.827e-05/0.7788, allocations: 96.67 kB / 1.03 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7788, allocations: 0 / 1.03 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000264/0.7791, allocations: 31.91 kB / 1.03 GB, free: 9.438 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 (6): * Single equations (assignments): 6 * 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.0002189/0.7793, allocations: 119.2 kB / 1.03 GB, free: 9.309 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002288/0.7795, allocations: 63.91 kB / 1.03 GB, free: 9.246 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.7796, allocations: 0 / 1.03 GB, free: 9.246 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.313e-05/0.7797, allocations: 39.91 kB / 1.03 GB, free: 9.207 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003293/0.78, allocations: 12 kB / 1.03 GB, free: 9.195 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004445/0.7804, allocations: 248.2 kB / 1.03 GB, free: 8.922 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002932/0.7807, allocations: 0.6887 MB / 1.031 GB, free: 8.207 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.724e-05/0.7808, allocations: 11.44 kB / 1.031 GB, free: 8.199 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.7808, allocations: 0 / 1.031 GB, free: 8.199 MB / 0.7794 GB Notification: Performance of Templates: time 0.003073/0.7839, allocations: 1.111 MB / 1.032 GB, free: 7.098 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches