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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.008779/0.008779, allocations: 99 kB / 15.73 MB, free: 6.008 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.001701/0.001701, allocations: 196.2 kB / 16.67 MB, free: 5.934 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.366/1.366, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.731/2.731, allocations: 472.7 MB / 0.7453 GB, free: 492 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 67.91 kB / 1.07 GB, free: 9.543 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9992/1, allocations: 159.9 MB / 1.226 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.003386/1.004, allocations: 1.613 MB / 1.227 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001744/1.006, allocations: 0.9125 MB / 1.228 GB, free: 10.99 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001076/1.006, allocations: 4 kB / 1.228 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 4.764e-05/1.006, allocations: 11.86 kB / 1.228 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002858/1.006, allocations: 23.78 kB / 1.228 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005042/1.007, allocations: 142.6 kB / 1.228 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001778/1.007, allocations: 71.7 kB / 1.228 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/1.007, allocations: 16 kB / 1.228 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001101/1.007, allocations: 35.86 kB / 1.228 GB, free: 10.69 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001412/1.007, allocations: 35.83 kB / 1.228 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.422e-05/1.007, allocations: 8 kB / 1.228 GB, free: 10.65 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004574/1.008, allocations: 283.6 kB / 1.229 GB, free: 10.37 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.413e-05/1.008, allocations: 11.92 kB / 1.229 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.521e-05/1.008, allocations: 35.8 kB / 1.229 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003237/1.008, allocations: 148 kB / 1.229 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/1.008, allocations: 4 kB / 1.229 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.643e-06/1.008, allocations: 0 / 1.229 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.424e-06/1.008, allocations: 0 / 1.229 GB, free: 10.18 MB / 0.9512 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.000639/1.009, allocations: 406.9 kB / 1.229 GB, free: 9.734 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/1.009, allocations: 12.03 kB / 1.229 GB, free: 9.723 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001337/1.009, allocations: 8.891 kB / 1.229 GB, free: 9.715 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002606/1.009, allocations: 196.1 kB / 1.23 GB, free: 9.484 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/1.009, allocations: 8.375 kB / 1.23 GB, free: 9.477 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/1.009, allocations: 8.359 kB / 1.23 GB, free: 9.469 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001868/1.01, allocations: 61.98 kB / 1.23 GB, free: 9.402 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.535e-06/1.01, allocations: 0 / 1.23 GB, free: 9.402 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/1.01, allocations: 4 kB / 1.23 GB, free: 9.398 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/1.01, allocations: 3.938 kB / 1.23 GB, free: 9.395 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001465/1.01, allocations: 39.97 kB / 1.23 GB, free: 9.355 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004691/1.01, allocations: 312.6 kB / 1.23 GB, free: 9 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001445/1.01, allocations: 46.56 kB / 1.23 GB, free: 8.945 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.143e-05/1.01, allocations: 36.95 kB / 1.23 GB, free: 8.906 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/1.011, allocations: 0 / 1.23 GB, free: 8.906 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.703e-05/1.011, allocations: 38.5 kB / 1.23 GB, free: 8.859 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/1.011, allocations: 0 / 1.23 GB, free: 8.859 MB / 0.9512 GB Notification: Performance of matching and sorting (n=5): time 0.0003679/1.011, allocations: 105.5 kB / 1.23 GB, free: 8.75 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/1.011, allocations: 51.41 kB / 1.23 GB, free: 8.688 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/1.011, allocations: 135.7 kB / 1.23 GB, free: 8.547 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/1.011, allocations: 25.7 kB / 1.23 GB, free: 8.516 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.612e-05/1.011, allocations: 96.12 kB / 1.23 GB, free: 8.418 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.033e-05/1.011, allocations: 19.86 kB / 1.23 GB, free: 8.398 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.345e-05/1.011, allocations: 21.7 kB / 1.23 GB, free: 8.371 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001184/1.011, allocations: 322.8 kB / 1.231 GB, free: 8.047 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.712e-05/1.011, allocations: 19.98 kB / 1.231 GB, free: 8.027 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.679e-05/1.012, allocations: 23.97 kB / 1.231 GB, free: 8.004 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001457/1.012, allocations: 48.84 kB / 1.231 GB, free: 7.953 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.012, allocations: 4 kB / 1.231 GB, free: 7.949 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000223/1.012, allocations: 97.55 kB / 1.231 GB, free: 7.848 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/1.012, allocations: 4 kB / 1.231 GB, free: 7.844 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/1.012, allocations: 0 / 1.231 GB, free: 7.844 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/1.012, allocations: 0 / 1.231 GB, free: 7.844 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/1.012, allocations: 15.98 kB / 1.231 GB, free: 7.828 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/1.012, allocations: 0 / 1.231 GB, free: 7.828 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.596e-05/1.012, allocations: 12.36 kB / 1.231 GB, free: 7.816 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/1.012, allocations: 8 kB / 1.231 GB, free: 7.809 MB / 0.9512 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 8.245e-05/1.012, allocations: 113.8 kB / 1.231 GB, free: 7.688 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.449e-05/1.012, allocations: 7.953 kB / 1.231 GB, free: 7.68 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002652/1.013, allocations: 113.9 kB / 1.231 GB, free: 7.559 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/1.013, allocations: 0 / 1.231 GB, free: 7.559 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/1.013, allocations: 0 / 1.231 GB, free: 7.559 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/1.013, allocations: 0 / 1.231 GB, free: 7.559 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002014/1.013, allocations: 193.6 kB / 1.231 GB, free: 7.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/1.013, allocations: 0 / 1.231 GB, free: 7.32 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.502e-05/1.013, allocations: 15.92 kB / 1.231 GB, free: 7.305 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/1.013, allocations: 0 / 1.231 GB, free: 7.305 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/1.013, allocations: 4 kB / 1.231 GB, free: 7.301 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/1.013, allocations: 0 / 1.231 GB, free: 7.301 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/1.013, allocations: 0 / 1.231 GB, free: 7.301 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00027/1.013, allocations: 195.3 kB / 1.232 GB, free: 7.094 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.099e-05/1.013, allocations: 85.06 kB / 1.232 GB, free: 6.992 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/1.013, allocations: 0 / 1.232 GB, free: 6.992 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.493e-05/1.013, allocations: 7.984 kB / 1.232 GB, free: 6.984 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.628e-05/1.014, allocations: 0 / 1.232 GB, free: 6.984 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/1.014, allocations: 11.98 kB / 1.232 GB, free: 6.973 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.19e-05/1.014, allocations: 97.14 kB / 1.232 GB, free: 6.879 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/1.014, allocations: 3.938 kB / 1.232 GB, free: 6.875 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002593/1.014, allocations: 27.94 kB / 1.232 GB, free: 6.848 MB / 0.9512 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.0002202/1.014, allocations: 115.2 kB / 1.232 GB, free: 6.727 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002255/1.014, allocations: 63.83 kB / 1.232 GB, free: 6.664 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/1.014, allocations: 0 / 1.232 GB, free: 6.664 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 8.754e-05/1.014, allocations: 23.98 kB / 1.232 GB, free: 6.641 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002953/1.015, allocations: 15.98 kB / 1.232 GB, free: 6.625 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004464/1.015, allocations: 196.4 kB / 1.232 GB, free: 6.406 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002977/1.016, allocations: 0.691 MB / 1.233 GB, free: 5.691 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 5.037e-05/1.016, allocations: 7.984 kB / 1.233 GB, free: 5.684 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.699e-05/1.016, allocations: 19.42 kB / 1.233 GB, free: 5.664 MB / 0.9512 GB Notification: Performance of SimCode: time 2.3e-07/1.016, allocations: 0 / 1.233 GB, free: 5.664 MB / 0.9512 GB Notification: Performance of Templates: time 0.003964/1.02, allocations: 1.1 MB / 1.234 GB, free: 4.57 MB / 0.9512 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