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.00177/0.00177, allocations: 104.9 kB / 16.27 MB, free: 5.98 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.001785/0.001785, allocations: 189.8 kB / 17.2 MB, free: 5.605 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.435/1.435, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.755/2.755, allocations: 482.4 MB / 0.7553 GB, free: 6.996 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 67.91 kB / 0.9245 GB, free: 20 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8157/0.8176, allocations: 162.2 MB / 1.083 GB, free: 1.668 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002869/0.8206, allocations: 1.61 MB / 1.084 GB, free: 0.5391 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001467/0.822, allocations: 0.9107 MB / 1.085 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.935e-05/0.8221, allocations: 1.344 kB / 1.085 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.315e-05/0.8222, allocations: 9.281 kB / 1.085 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002268/0.8224, allocations: 19.28 kB / 1.085 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004121/0.8229, allocations: 144.8 kB / 1.086 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001513/0.823, allocations: 75.12 kB / 1.086 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.8231, allocations: 15.38 kB / 1.086 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.8233, allocations: 35.47 kB / 1.086 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001354/0.8234, allocations: 38.42 kB / 1.086 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.041e-05/0.8234, allocations: 4.531 kB / 1.086 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005064/0.8239, allocations: 285.5 kB / 1.086 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.455e-05/0.824, allocations: 11.22 kB / 1.086 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.883e-05/0.824, allocations: 34.98 kB / 1.086 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0003036/0.8243, allocations: 149.8 kB / 1.086 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.8244, allocations: 0 / 1.086 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.873e-06/0.8244, allocations: 0.7188 kB / 1.086 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.966e-06/0.8244, allocations: 0 / 1.086 GB, free: 15.6 MB / 0.8419 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.000645/0.825, allocations: 409.9 kB / 1.087 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.8251, allocations: 8.969 kB / 1.087 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001266/0.8252, allocations: 13.27 kB / 1.087 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002148/0.8254, allocations: 184.2 kB / 1.087 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.8255, allocations: 5.875 kB / 1.087 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.906e-05/0.8255, allocations: 6.594 kB / 1.087 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001956/0.8257, allocations: 61.22 kB / 1.087 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.385e-06/0.8257, allocations: 4 kB / 1.087 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.8257, allocations: 5.25 kB / 1.087 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.8257, allocations: 0 / 1.087 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001495/0.8259, allocations: 41.09 kB / 1.087 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004839/0.8264, allocations: 303.2 kB / 1.087 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001556/0.8265, allocations: 62.03 kB / 1.087 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.729e-05/0.8266, allocations: 27.39 kB / 1.087 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.8267, allocations: 0 / 1.087 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/0.8267, allocations: 32.34 kB / 1.087 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=5): time 8.61e-07/0.8267, allocations: 1.125 kB / 1.087 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of matching and sorting (n=5): time 0.0003966/0.8271, allocations: 116.1 kB / 1.087 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/0.8272, allocations: 56.34 kB / 1.087 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001283/0.8273, allocations: 132.1 kB / 1.088 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.8273, allocations: 26.89 kB / 1.088 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.539e-05/0.8274, allocations: 97.48 kB / 1.088 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.137e-05/0.8274, allocations: 10.61 kB / 1.088 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.777e-05/0.8275, allocations: 21.08 kB / 1.088 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.8276, allocations: 326.9 kB / 1.088 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.118e-05/0.8277, allocations: 20.91 kB / 1.088 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.156e-05/0.8278, allocations: 21.47 kB / 1.088 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001578/0.828, allocations: 59.94 kB / 1.088 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.828, allocations: 0 / 1.088 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002325/0.8282, allocations: 92.47 kB / 1.088 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.8283, allocations: 9.031 kB / 1.088 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.8283, allocations: 0.75 kB / 1.088 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.8283, allocations: 1.062 kB / 1.088 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.8284, allocations: 14.14 kB / 1.088 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.8284, allocations: 0 / 1.088 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.203e-05/0.8285, allocations: 5.547 kB / 1.088 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.355e-06/0.8285, allocations: 3.031 kB / 1.088 GB, free: 13.73 MB / 0.8419 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.554e-05/0.8286, allocations: 117.7 kB / 1.088 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.313e-05/0.8286, allocations: 11.38 kB / 1.088 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002812/0.8289, allocations: 106.7 kB / 1.088 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.8289, allocations: 1.219 kB / 1.088 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.829, allocations: 0 / 1.088 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.309e-06/0.829, allocations: 1.469 kB / 1.088 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000236/0.8292, allocations: 188 kB / 1.089 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.8292, allocations: 0 / 1.089 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.628e-05/0.8293, allocations: 13.94 kB / 1.089 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.8293, allocations: 5.125 kB / 1.089 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.8293, allocations: 5.766 kB / 1.089 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.8293, allocations: 0 / 1.089 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.8294, allocations: 1.875 kB / 1.089 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002831/0.8296, allocations: 191 kB / 1.089 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.688e-05/0.8297, allocations: 84.3 kB / 1.089 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.064e-05/0.8297, allocations: 1.516 kB / 1.089 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.812e-05/0.8298, allocations: 12.69 kB / 1.089 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.69e-05/0.8299, allocations: 3.906 kB / 1.089 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/0.8299, allocations: 1.922 kB / 1.089 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.579e-05/0.83, allocations: 108.4 kB / 1.089 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.83, allocations: 0 / 1.089 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002563/0.8302, allocations: 19.27 kB / 1.089 GB, free: 12.98 MB / 0.8419 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.0002144/0.8305, allocations: 116 kB / 1.089 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002453/0.8307, allocations: 67.72 kB / 1.089 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.8307, allocations: 3.938 kB / 1.089 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 9.447e-05/0.8308, allocations: 31.33 kB / 1.089 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003669/0.8312, allocations: 15.12 kB / 1.089 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005463/0.8318, allocations: 213.2 kB / 1.09 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003558/0.8321, allocations: 0.6932 MB / 1.09 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.253e-05/0.8322, allocations: 13.17 kB / 1.09 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of SimCode: time 2.21e-07/0.8322, allocations: 0 / 1.09 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of Templates: time 0.003677/0.8359, allocations: 1.111 MB / 1.091 GB, free: 11.87 MB / 0.8419 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=400 -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/jenkins1/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