Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001112/0.001112, allocations: 90.75 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.00137/0.00137, 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.375/1.375, allocations: 223.3 MB / 240 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.39/2.39, allocations: 390.9 MB / 0.666 GB, free: 2.465 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004218/0.0004219, allocations: 12 kB / 0.8154 GB, free: 13.62 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7094/0.7098, allocations: 142.4 MB / 0.9544 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.001631/0.7115, allocations: 1.3 MB / 0.9557 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001143/0.7126, allocations: 0.8444 MB / 0.9565 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.422e-05/0.7127, allocations: 5.125 kB / 0.9565 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.669e-05/0.7127, allocations: 3.938 kB / 0.9565 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001815/0.7129, allocations: 19.81 kB / 0.9566 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002602/0.7132, allocations: 100.3 kB / 0.9567 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001143/0.7133, allocations: 64.38 kB / 0.9567 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.826e-05/0.7134, allocations: 13.92 kB / 0.9567 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.734e-05/0.7135, allocations: 33.31 kB / 0.9568 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001263/0.7136, allocations: 32.69 kB / 0.9568 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.7136, allocations: 2.062 kB / 0.9568 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003366/0.714, allocations: 273.9 kB / 0.9571 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.498e-05/0.714, allocations: 6.484 kB / 0.9571 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.544e-05/0.714, allocations: 38.08 kB / 0.9571 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000156/0.7142, allocations: 105.3 kB / 0.9572 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.764e-06/0.7142, allocations: 5.25 kB / 0.9572 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.553e-06/0.7142, allocations: 0 / 0.9572 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.7142, allocations: 0 / 0.9572 GB, free: 5.66 MB / 0.7169 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.000464/0.7147, allocations: 402.9 kB / 0.9576 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.7148, allocations: 9.125 kB / 0.9576 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001118/0.7149, allocations: 18.67 kB / 0.9576 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001557/0.715, allocations: 186.6 kB / 0.9578 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.7151, allocations: 1.312 kB / 0.9578 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.194e-05/0.7151, allocations: 2.438 kB / 0.9578 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/0.7153, allocations: 65.14 kB / 0.9579 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.7153, allocations: 0 / 0.9579 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.7153, allocations: 1.125 kB / 0.9579 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.064e-06/0.7153, allocations: 1.219 kB / 0.9579 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001589/0.7155, allocations: 54.52 kB / 0.9579 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003897/0.7159, allocations: 297.9 kB / 0.9582 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/0.716, allocations: 63.48 kB / 0.9583 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.548e-05/0.7161, allocations: 33.28 kB / 0.9583 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.623e-05/0.7161, allocations: 1.719 kB / 0.9583 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.836e-05/0.7161, allocations: 30.56 kB / 0.9583 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.7161, allocations: 5.5 kB / 0.9583 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0003461/0.7165, allocations: 116 kB / 0.9584 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.466e-05/0.7165, allocations: 56.52 kB / 0.9585 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.59e-05/0.7166, allocations: 131.4 kB / 0.9586 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.007e-05/0.7166, allocations: 31.08 kB / 0.9586 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.798e-05/0.7167, allocations: 95.28 kB / 0.9587 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.651e-05/0.7167, allocations: 17.16 kB / 0.9588 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-06/0.7167, allocations: 0 / 0.9588 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.989e-05/0.7168, allocations: 326 kB / 0.9591 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.461e-05/0.7169, allocations: 23.17 kB / 0.9591 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.151e-05/0.7169, allocations: 28.64 kB / 0.9591 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.752e-05/0.717, allocations: 30.08 kB / 0.9591 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.717, allocations: 0 / 0.9591 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001945/0.7172, allocations: 100.2 kB / 0.9592 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.7172, allocations: 5.5 kB / 0.9592 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.7172, allocations: 0 / 0.9592 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.7173, allocations: 5.391 kB / 0.9593 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.7174, allocations: 20.36 kB / 0.9593 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.7174, allocations: 3.938 kB / 0.9593 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.862e-05/0.7175, allocations: 17.34 kB / 0.9593 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-06/0.7175, allocations: 1.375 kB / 0.9593 GB, free: 3.691 MB / 0.7169 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 6.216e-05/0.7175, allocations: 122 kB / 0.9594 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.795e-05/0.7176, allocations: 2.75 kB / 0.9594 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002317/0.7178, allocations: 107.1 kB / 0.9595 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.7178, allocations: 1.375 kB / 0.9595 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.7178, allocations: 11.94 kB / 0.9595 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.7179, allocations: 0 / 0.9595 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001454/0.718, allocations: 187.4 kB / 0.9597 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.718, allocations: 1.375 kB / 0.9597 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.348e-05/0.7181, allocations: 20.3 kB / 0.9597 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.7181, allocations: 0 / 0.9597 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.7181, allocations: 1.375 kB / 0.9597 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.7181, allocations: 3.984 kB / 0.9597 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.7181, allocations: 0 / 0.9597 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002517/0.7184, allocations: 200.8 kB / 0.9599 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.601e-05/0.7184, allocations: 82.39 kB / 0.96 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.044e-05/0.7185, allocations: 9.359 kB / 0.96 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.483e-05/0.7185, allocations: 9.484 kB / 0.96 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.501e-05/0.7186, allocations: 5.375 kB / 0.96 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.728e-06/0.7186, allocations: 1.375 kB / 0.96 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.301e-05/0.7186, allocations: 107 kB / 0.9601 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7186, allocations: 0 / 0.9601 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002424/0.7189, allocations: 21.86 kB / 0.9601 GB, free: 2.879 MB / 0.7169 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.0001762/0.7191, allocations: 114.5 kB / 0.9603 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001999/0.7193, allocations: 67.95 kB / 0.9603 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.7193, allocations: 0 / 0.9603 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.031e-05/0.7194, allocations: 38.11 kB / 0.9604 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003189/0.7197, allocations: 13.44 kB / 0.9604 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003622/0.7201, allocations: 214.6 kB / 0.9606 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001294/0.7202, allocations: 0.6912 MB / 0.9613 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.901e-05/0.7203, allocations: 6.562 kB / 0.9613 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.897e-05/0.7203, allocations: 15.61 kB / 0.9613 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of SimCode: time 2.51e-07/0.7203, allocations: 0 / 0.9613 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of Templates: time 0.003572/0.7239, allocations: 0.978 MB / 0.9622 GB, free: 1.336 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches