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.001123/0.001123, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 187.8 kB / 16.93 MB, free: 6.773 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.44/1.44, allocations: 223.3 MB / 241 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.804/2.804, allocations: 443.2 MB / 0.7181 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003635/0.0003637, allocations: 15.06 kB / 0.8801 GB, free: 42.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3263, allocations: 155.2 MB / 1.032 GB, free: 4.738 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.00181/0.3281, allocations: 1.32 MB / 1.033 GB, free: 3.406 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00151/0.3297, allocations: 0.9284 MB / 1.034 GB, free: 2.469 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.373e-05/0.3298, allocations: 4 kB / 1.034 GB, free: 2.465 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.204e-05/0.3298, allocations: 7.922 kB / 1.034 GB, free: 2.457 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001993/0.33, allocations: 15.86 kB / 1.034 GB, free: 2.441 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002776/0.3303, allocations: 111.8 kB / 1.034 GB, free: 2.332 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001404/0.3304, allocations: 71.66 kB / 1.034 GB, free: 2.262 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.557e-05/0.3305, allocations: 12 kB / 1.034 GB, free: 2.25 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.842e-05/0.3306, allocations: 27.86 kB / 1.034 GB, free: 2.223 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001269/0.3308, allocations: 35.83 kB / 1.034 GB, free: 2.188 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.625e-05/0.3308, allocations: 4 kB / 1.034 GB, free: 2.184 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003835/0.3312, allocations: 275.6 kB / 1.034 GB, free: 1.914 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.178e-05/0.3312, allocations: 15.94 kB / 1.034 GB, free: 1.898 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.051e-05/0.3313, allocations: 49.56 kB / 1.034 GB, free: 1.844 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001711/0.3315, allocations: 111.9 kB / 1.035 GB, free: 1.734 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3315, allocations: 0 / 1.035 GB, free: 1.734 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3315, allocations: 0 / 1.035 GB, free: 1.734 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.3315, allocations: 0 / 1.035 GB, free: 1.734 MB / 0.7794 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.0005866/0.3321, allocations: 399.3 kB / 1.035 GB, free: 1.297 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.3321, allocations: 12.03 kB / 1.035 GB, free: 1.285 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000129/0.3323, allocations: 8.844 kB / 1.035 GB, free: 1.277 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001895/0.3325, allocations: 188.2 kB / 1.035 GB, free: 1.055 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.3325, allocations: 384 / 1.035 GB, free: 1.055 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.335e-05/0.3325, allocations: 4.375 kB / 1.035 GB, free: 1.051 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001937/0.3327, allocations: 69.92 kB / 1.035 GB, free: 0.9766 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.3327, allocations: 0 / 1.035 GB, free: 0.9766 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.3327, allocations: 4 kB / 1.035 GB, free: 0.9727 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.3327, allocations: 0 / 1.035 GB, free: 0.9727 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001581/0.3329, allocations: 47.97 kB / 1.035 GB, free: 0.9258 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005064/0.3334, allocations: 308.7 kB / 1.036 GB, free: 0.5742 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001534/0.3336, allocations: 62.48 kB / 1.036 GB, free: 0.5039 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.971e-05/0.3337, allocations: 32.97 kB / 1.036 GB, free: 480 kB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.537e-05/0.3337, allocations: 4 kB / 1.036 GB, free: 476 kB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.934e-05/0.3338, allocations: 34.56 kB / 1.036 GB, free: 432 kB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.3338, allocations: 0 / 1.036 GB, free: 432 kB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.0004075/0.3342, allocations: 113.6 kB / 1.036 GB, free: 312 kB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.3342, allocations: 55.41 kB / 1.036 GB, free: 244 kB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.3344, allocations: 135.6 kB / 1.036 GB, free: 100 kB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.3344, allocations: 25.7 kB / 1.036 GB, free: 68 kB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.272e-05/0.3345, allocations: 96.12 kB / 1.036 GB, free: 15.97 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.336e-05/0.3345, allocations: 15.75 kB / 1.036 GB, free: 15.95 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.018e-05/0.3345, allocations: 17.7 kB / 1.036 GB, free: 15.93 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.3347, allocations: 322.7 kB / 1.036 GB, free: 15.61 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.57e-05/0.3348, allocations: 27.98 kB / 1.036 GB, free: 15.58 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.557e-05/0.3348, allocations: 31.98 kB / 1.036 GB, free: 15.55 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/0.335, allocations: 56.83 kB / 1.037 GB, free: 15.49 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.335, allocations: 4 kB / 1.037 GB, free: 15.48 MB / 0.795 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002209/0.3352, allocations: 97.56 kB / 1.037 GB, free: 15.38 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.3353, allocations: 8 kB / 1.037 GB, free: 15.38 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.3353, allocations: 0 / 1.037 GB, free: 15.38 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.3353, allocations: 3.938 kB / 1.037 GB, free: 15.37 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.3354, allocations: 15.98 kB / 1.037 GB, free: 15.36 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.3354, allocations: 4 kB / 1.037 GB, free: 15.35 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.17e-05/0.3355, allocations: 8.438 kB / 1.037 GB, free: 15.34 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.3355, allocations: 7.984 kB / 1.037 GB, free: 15.34 MB / 0.795 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.576e-05/0.3356, allocations: 119.3 kB / 1.037 GB, free: 15.21 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.807e-05/0.3357, allocations: 7.844 kB / 1.037 GB, free: 15.2 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002648/0.3359, allocations: 114 kB / 1.037 GB, free: 15.09 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.3359, allocations: 3.938 kB / 1.037 GB, free: 15.08 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.336, allocations: 0 / 1.037 GB, free: 15.08 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.336, allocations: 0 / 1.037 GB, free: 15.08 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001843/0.3362, allocations: 193.5 kB / 1.037 GB, free: 14.84 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3362, allocations: 0 / 1.037 GB, free: 14.84 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.233e-05/0.3362, allocations: 15.98 kB / 1.037 GB, free: 14.83 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.3363, allocations: 4 kB / 1.037 GB, free: 14.82 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.804e-06/0.3363, allocations: 0 / 1.037 GB, free: 14.82 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3363, allocations: 0 / 1.037 GB, free: 14.82 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3363, allocations: 0 / 1.037 GB, free: 14.82 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000254/0.3365, allocations: 195.5 kB / 1.037 GB, free: 14.62 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.223e-05/0.3366, allocations: 85.02 kB / 1.037 GB, free: 14.52 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.805e-05/0.3366, allocations: 4 kB / 1.037 GB, free: 14.51 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.857e-05/0.3367, allocations: 11.98 kB / 1.037 GB, free: 14.5 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.916e-05/0.3368, allocations: 7.922 kB / 1.037 GB, free: 14.49 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.3368, allocations: 4 kB / 1.037 GB, free: 14.49 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.972e-05/0.3368, allocations: 108.2 kB / 1.037 GB, free: 14.38 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3368, allocations: 0 / 1.037 GB, free: 14.38 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002437/0.3371, allocations: 24 kB / 1.038 GB, free: 14.36 MB / 0.795 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.0002071/0.3373, allocations: 115.1 kB / 1.038 GB, free: 14.23 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002112/0.3375, allocations: 67.89 kB / 1.038 GB, free: 14.17 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.3375, allocations: 4 kB / 1.038 GB, free: 14.16 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 9.055e-05/0.3376, allocations: 39.92 kB / 1.038 GB, free: 14.12 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003201/0.338, allocations: 7.938 kB / 1.038 GB, free: 14.12 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004162/0.3384, allocations: 252.2 kB / 1.038 GB, free: 13.84 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002315/0.3386, allocations: 0.6887 MB / 1.039 GB, free: 13.12 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.568e-05/0.3387, allocations: 11.44 kB / 1.039 GB, free: 13.11 MB / 0.795 GB Notification: Performance of SimCode: time 2.31e-07/0.3387, allocations: 0 / 1.039 GB, free: 13.11 MB / 0.795 GB Notification: Performance of Templates: time 0.00269/0.3414, allocations: 1.105 MB / 1.04 GB, free: 12.02 MB / 0.795 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/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