Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.HACoilInside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hASin.hA",fileNamePrefix="Buildings_latest_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_latest_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.001108/0.001108, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008164/0.008164, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.431/1.431, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.828/2.828, allocations: 462.7 MB / 0.7364 GB, free: 312 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.000383/0.0003834, allocations: 11.59 kB / 0.9028 GB, free: 36.71 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3497/0.3501, allocations: 159.6 MB / 1.059 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.001827/0.352, allocations: 1.335 MB / 1.06 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001477/0.3535, allocations: 0.931 MB / 1.061 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.363e-05/0.3536, allocations: 0 / 1.061 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.147e-05/0.3536, allocations: 3.938 kB / 1.061 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001695/0.3538, allocations: 23.84 kB / 1.061 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002686/0.3541, allocations: 99.75 kB / 1.061 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001201/0.3542, allocations: 75.66 kB / 1.061 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.554e-05/0.3543, allocations: 19.98 kB / 1.061 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.822e-05/0.3544, allocations: 23.92 kB / 1.061 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001133/0.3545, allocations: 35.78 kB / 1.061 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.49e-05/0.3545, allocations: 4 kB / 1.061 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003859/0.3549, allocations: 279.6 kB / 1.061 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.989e-05/0.355, allocations: 15.92 kB / 1.061 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.468e-05/0.355, allocations: 49.52 kB / 1.061 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002434/0.3553, allocations: 151.8 kB / 1.062 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3553, allocations: 0 / 1.062 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3553, allocations: 0 / 1.062 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.688e-06/0.3553, allocations: 4 kB / 1.062 GB, free: 2.445 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005457/0.3559, allocations: 400.5 kB / 1.062 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.3559, allocations: 8.031 kB / 1.062 GB, free: 2 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001185/0.356, allocations: 12.84 kB / 1.062 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001775/0.3562, allocations: 185.8 kB / 1.062 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.3562, allocations: 8.375 kB / 1.062 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.29e-05/0.3563, allocations: 4.375 kB / 1.062 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/0.3564, allocations: 73.95 kB / 1.062 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.3565, allocations: 0 / 1.062 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.3565, allocations: 0 / 1.062 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.3565, allocations: 0 / 1.062 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001574/0.3566, allocations: 55.91 kB / 1.062 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004584/0.3571, allocations: 300.7 kB / 1.063 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000143/0.3573, allocations: 58.56 kB / 1.063 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.604e-05/0.3574, allocations: 36.95 kB / 1.063 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.575e-05/0.3574, allocations: 0 / 1.063 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.3574, allocations: 30.56 kB / 1.063 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 9.21e-07/0.3574, allocations: 7.875 kB / 1.063 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5): time 0.0003818/0.3578, allocations: 117.6 kB / 1.063 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/0.3578, allocations: 55.41 kB / 1.063 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.358, allocations: 131.7 kB / 1.063 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.358, allocations: 25.7 kB / 1.063 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.601e-05/0.358, allocations: 100.1 kB / 1.063 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.078e-05/0.3581, allocations: 19.81 kB / 1.063 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.994e-05/0.3581, allocations: 13.72 kB / 1.063 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.3582, allocations: 322.8 kB / 1.064 GB, free: 316 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.029e-05/0.3583, allocations: 23.98 kB / 1.064 GB, free: 292 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.304e-05/0.3584, allocations: 28.23 kB / 1.064 GB, free: 264 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001598/0.3586, allocations: 72.89 kB / 1.064 GB, free: 188 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3586, allocations: 0 / 1.064 GB, free: 188 kB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002233/0.3588, allocations: 101.6 kB / 1.064 GB, free: 80 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.3588, allocations: 4 kB / 1.064 GB, free: 76 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.3588, allocations: 0 / 1.064 GB, free: 76 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.3588, allocations: 4 kB / 1.064 GB, free: 72 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.359, allocations: 19.92 kB / 1.064 GB, free: 52 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.359, allocations: 0 / 1.064 GB, free: 52 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.406e-05/0.359, allocations: 4 kB / 1.064 GB, free: 48 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.3591, allocations: 4 kB / 1.064 GB, free: 44 kB / 0.8106 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.573e-05/0.3592, allocations: 125.7 kB / 1.064 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.268e-05/0.3592, allocations: 7.906 kB / 1.064 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002552/0.3595, allocations: 106 kB / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3595, allocations: 0 / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3595, allocations: 0 / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.3595, allocations: 7.984 kB / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001803/0.3597, allocations: 189.5 kB / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.3597, allocations: 0 / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.305e-05/0.3598, allocations: 15.98 kB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.3598, allocations: 0 / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.3598, allocations: 0 / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3598, allocations: 0 / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.3598, allocations: 3.938 kB / 1.064 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002638/0.3601, allocations: 203.5 kB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.344e-05/0.3601, allocations: 77.17 kB / 1.064 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.942e-05/0.3602, allocations: 7.938 kB / 1.064 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.803e-05/0.3603, allocations: 12 kB / 1.064 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.192e-05/0.3603, allocations: 7.984 kB / 1.064 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-06/0.3603, allocations: 4 kB / 1.064 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.676e-05/0.3604, allocations: 100.4 kB / 1.065 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3604, allocations: 0 / 1.065 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002427/0.3606, allocations: 23.98 kB / 1.065 GB, free: 15.07 MB / 0.8262 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.0001922/0.3608, allocations: 111.2 kB / 1.065 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002183/0.3611, allocations: 71.84 kB / 1.065 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3611, allocations: 0 / 1.065 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.339e-05/0.3612, allocations: 35.97 kB / 1.065 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003188/0.3615, allocations: 8 kB / 1.065 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004326/0.3619, allocations: 226.4 kB / 1.065 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002288/0.3622, allocations: 0.6926 MB / 1.066 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.947e-05/0.3622, allocations: 11.98 kB / 1.066 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.048e-05/0.3623, allocations: 7.438 kB / 1.066 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3623, allocations: 0 / 1.066 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of Templates: time 0.003356/0.3656, allocations: 1.017 MB / 1.067 GB, free: 12.85 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches