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.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.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.0008224/0.0008226, allocations: 91.06 kB / 15.06 MB, free: 1.098 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.0008605/0.0008605, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 223.3 MB / 240 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.75/2.75, allocations: 462.6 MB / 0.736 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003209/0.000321, allocations: 13.94 kB / 0.9021 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2494/0.2497, allocations: 159.6 MB / 1.058 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.001667/0.2514, allocations: 1.316 MB / 1.059 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001261/0.2527, allocations: 0.8419 MB / 1.06 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.145e-05/0.2528, allocations: 3.938 kB / 1.06 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.822e-05/0.2528, allocations: 7.984 kB / 1.06 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001741/0.253, allocations: 19.84 kB / 1.06 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000293/0.2533, allocations: 99 kB / 1.06 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001289/0.2535, allocations: 67.72 kB / 1.06 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.11e-05/0.2535, allocations: 15.98 kB / 1.06 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.626e-05/0.2536, allocations: 31.86 kB / 1.06 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001251/0.2538, allocations: 35.84 kB / 1.06 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.2538, allocations: 3.938 kB / 1.06 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003716/0.2542, allocations: 271.6 kB / 1.061 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.662e-05/0.2542, allocations: 7.938 kB / 1.061 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.478e-05/0.2542, allocations: 29.7 kB / 1.061 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000163/0.2544, allocations: 108 kB / 1.061 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2544, allocations: 0 / 1.061 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2544, allocations: 4 kB / 1.061 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.978e-06/0.2544, allocations: 0 / 1.061 GB, free: 2.426 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.0004918/0.2549, allocations: 395.1 kB / 1.061 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.255, allocations: 8.031 kB / 1.061 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001137/0.2551, allocations: 15.89 kB / 1.061 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001732/0.2553, allocations: 190.8 kB / 1.061 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.2553, allocations: 4 kB / 1.061 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.242e-05/0.2553, allocations: 8 kB / 1.061 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001725/0.2555, allocations: 69.59 kB / 1.061 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.022e-06/0.2555, allocations: 0 / 1.061 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.749e-06/0.2555, allocations: 0 / 1.061 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.2555, allocations: 0 / 1.061 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001485/0.2557, allocations: 51.97 kB / 1.062 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004185/0.2561, allocations: 300.8 kB / 1.062 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001371/0.2563, allocations: 58.56 kB / 1.062 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.979e-05/0.2563, allocations: 32.97 kB / 1.062 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.663e-05/0.2564, allocations: 0 / 1.062 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.2564, allocations: 30.56 kB / 1.062 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.2564, allocations: 0 / 1.062 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5): time 0.0003689/0.2568, allocations: 129.5 kB / 1.062 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.94e-05/0.2568, allocations: 51.41 kB / 1.062 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.649e-05/0.2569, allocations: 127.4 kB / 1.062 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.2569, allocations: 29.64 kB / 1.062 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.751e-05/0.257, allocations: 100.1 kB / 1.062 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.198e-05/0.257, allocations: 23.64 kB / 1.062 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.94e-06/0.257, allocations: 0 / 1.062 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.337e-05/0.2571, allocations: 318.8 kB / 1.063 GB, free: 320 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.223e-05/0.2572, allocations: 27.97 kB / 1.063 GB, free: 292 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.72e-05/0.2573, allocations: 31.98 kB / 1.063 GB, free: 260 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.912e-05/0.2574, allocations: 27.98 kB / 1.063 GB, free: 232 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2574, allocations: 0 / 1.063 GB, free: 232 kB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002199/0.2576, allocations: 97.58 kB / 1.063 GB, free: 128 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.2576, allocations: 11.94 kB / 1.063 GB, free: 116 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.2576, allocations: 0 / 1.063 GB, free: 116 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.898e-06/0.2577, allocations: 0 / 1.063 GB, free: 116 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/0.2578, allocations: 15.98 kB / 1.063 GB, free: 100 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.2578, allocations: 0 / 1.063 GB, free: 100 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.579e-05/0.2579, allocations: 11.98 kB / 1.063 GB, free: 88 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.2579, allocations: 0 / 1.063 GB, free: 88 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.723e-05/0.258, allocations: 117.8 kB / 1.063 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.67e-05/0.258, allocations: 12.34 kB / 1.063 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002446/0.2583, allocations: 109.9 kB / 1.063 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/0.2583, allocations: 7.984 kB / 1.063 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.2583, allocations: 0 / 1.063 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.2583, allocations: 0 / 1.063 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001773/0.2585, allocations: 189.6 kB / 1.063 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.2585, allocations: 0 / 1.063 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.214e-05/0.2586, allocations: 15.98 kB / 1.063 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.2586, allocations: 0 / 1.063 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.2586, allocations: 0 / 1.063 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.2586, allocations: 7.938 kB / 1.063 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.2586, allocations: 0 / 1.063 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000256/0.2589, allocations: 199.4 kB / 1.064 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.417e-05/0.259, allocations: 81.02 kB / 1.064 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/0.259, allocations: 4 kB / 1.064 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.141e-05/0.2591, allocations: 7.984 kB / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.936e-05/0.2591, allocations: 7.922 kB / 1.064 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/0.2591, allocations: 4 kB / 1.064 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.678e-05/0.2592, allocations: 109.4 kB / 1.064 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2592, allocations: 0 / 1.064 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002673/0.2595, allocations: 24 kB / 1.064 GB, free: 15.11 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001569/0.2596, allocations: 115.3 kB / 1.064 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002051/0.2599, allocations: 63.97 kB / 1.064 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.2599, allocations: 0 / 1.064 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.293e-05/0.26, allocations: 35.92 kB / 1.064 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003008/0.2603, allocations: 19.88 kB / 1.064 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003673/0.2606, allocations: 210.5 kB / 1.064 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002189/0.2609, allocations: 0.6887 MB / 1.065 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.162e-05/0.2609, allocations: 12.17 kB / 1.065 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.874e-05/0.261, allocations: 11.44 kB / 1.065 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.261, allocations: 0 / 1.065 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of Templates: time 0.003296/0.2643, allocations: 0.9823 MB / 1.066 GB, free: 12.92 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