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.008103/0.008103, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001762/0.001762, allocations: 195.8 kB / 16.79 MB, free: 5.809 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.403/1.403, allocations: 222.9 MB / 240.5 MB, free: 4.574 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.2 MB / 0.6649 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 63.91 kB / 0.8125 GB, free: 14.84 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8119/0.8133, allocations: 140.3 MB / 0.9496 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002721/0.816, allocations: 1.667 MB / 0.9512 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001299/0.8173, allocations: 0.9304 MB / 0.9521 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.356e-05/0.8174, allocations: 1.344 kB / 0.9521 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.429e-05/0.8175, allocations: 3.938 kB / 0.9521 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001788/0.8177, allocations: 18.34 kB / 0.9521 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000246/0.8179, allocations: 100 kB / 0.9522 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001278/0.818, allocations: 75.03 kB / 0.9523 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.205e-05/0.8181, allocations: 13.48 kB / 0.9523 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.459e-05/0.8182, allocations: 42.27 kB / 0.9524 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001162/0.8184, allocations: 29.23 kB / 0.9524 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.8184, allocations: 1.188 kB / 0.9524 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00034/0.8187, allocations: 283.5 kB / 0.9527 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.772e-05/0.8188, allocations: 13.11 kB / 0.9527 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.011e-05/0.8188, allocations: 25 kB / 0.9527 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001558/0.819, allocations: 106 kB / 0.9528 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.819, allocations: 0 / 0.9528 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.463e-06/0.819, allocations: 1.531 kB / 0.9528 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.819, allocations: 0 / 0.9528 GB, free: 6.652 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.0004884/0.8195, allocations: 402.2 kB / 0.9532 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.8195, allocations: 13.47 kB / 0.9532 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001189/0.8197, allocations: 11.16 kB / 0.9532 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.8198, allocations: 201.7 kB / 0.9534 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.283e-06/0.8198, allocations: 1.719 kB / 0.9534 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.691e-05/0.8198, allocations: 7.656 kB / 0.9534 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.82, allocations: 57.14 kB / 0.9535 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.82, allocations: 0 / 0.9535 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.82, allocations: 5.156 kB / 0.9535 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.8201, allocations: 1.094 kB / 0.9535 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001469/0.8202, allocations: 51.83 kB / 0.9535 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003879/0.8206, allocations: 292.5 kB / 0.9538 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001489/0.8208, allocations: 60.11 kB / 0.9539 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.284e-05/0.8208, allocations: 30.34 kB / 0.9539 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.8209, allocations: 1.156 kB / 0.9539 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.873e-05/0.8209, allocations: 31.69 kB / 0.9539 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.103e-06/0.8209, allocations: 3.938 kB / 0.9539 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0003528/0.8213, allocations: 109.8 kB / 0.954 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.285e-05/0.8213, allocations: 56.75 kB / 0.9541 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.99e-05/0.8214, allocations: 132.9 kB / 0.9542 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/0.8214, allocations: 25.7 kB / 0.9542 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.49e-05/0.8214, allocations: 91.2 kB / 0.9543 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.919e-05/0.8215, allocations: 26.83 kB / 0.9543 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.648e-05/0.8215, allocations: 18.19 kB / 0.9544 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.617e-05/0.8216, allocations: 324.2 kB / 0.9547 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.918e-05/0.8217, allocations: 24.2 kB / 0.9547 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.732e-05/0.8217, allocations: 20.33 kB / 0.9547 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001458/0.8219, allocations: 52.2 kB / 0.9548 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.8219, allocations: 0 / 0.9548 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000197/0.8221, allocations: 93.92 kB / 0.9549 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.8221, allocations: 9.141 kB / 0.9549 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.8221, allocations: 3.938 kB / 0.9549 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.8221, allocations: 5.188 kB / 0.9549 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.8223, allocations: 19.28 kB / 0.9549 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.8223, allocations: 3.984 kB / 0.9549 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.992e-05/0.8224, allocations: 3.281 kB / 0.9549 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/0.8224, allocations: 5.062 kB / 0.9549 GB, free: 4.633 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.437e-05/0.8224, allocations: 113.1 kB / 0.955 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.13e-05/0.8225, allocations: 7.781 kB / 0.955 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002373/0.8227, allocations: 108.6 kB / 0.9551 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.8227, allocations: 5.031 kB / 0.9551 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.8227, allocations: 0 / 0.9551 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.8228, allocations: 0 / 0.9551 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001485/0.8229, allocations: 195.3 kB / 0.9553 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.8229, allocations: 1.25 kB / 0.9553 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.233e-05/0.823, allocations: 10.06 kB / 0.9553 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.823, allocations: 1.25 kB / 0.9553 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.387e-06/0.823, allocations: 3.984 kB / 0.9553 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.823, allocations: 5.219 kB / 0.9553 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.823, allocations: 0 / 0.9553 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002425/0.8233, allocations: 193.1 kB / 0.9555 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.77e-05/0.8233, allocations: 82.05 kB / 0.9556 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.812e-05/0.8233, allocations: 5.062 kB / 0.9556 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.444e-05/0.8234, allocations: 3.312 kB / 0.9556 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.451e-05/0.8235, allocations: 10.89 kB / 0.9556 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.044e-06/0.8235, allocations: 5.312 kB / 0.9556 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.26e-05/0.8236, allocations: 101.7 kB / 0.9557 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8236, allocations: 0 / 0.9557 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002461/0.8238, allocations: 27.03 kB / 0.9557 GB, free: 3.82 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 (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.0001911/0.824, allocations: 112.4 kB / 0.9558 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000215/0.8242, allocations: 56.47 kB / 0.9559 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.8242, allocations: 4 kB / 0.9559 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.455e-05/0.8243, allocations: 30.66 kB / 0.9559 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003647/0.8247, allocations: 8.625 kB / 0.9559 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004101/0.8251, allocations: 238 kB / 0.9562 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001242/0.8253, allocations: 0.6856 MB / 0.9568 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.54e-05/0.8253, allocations: 14.67 kB / 0.9569 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of SimCode: time 3.01e-07/0.8253, allocations: 1.125 kB / 0.9569 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of Templates: time 0.002683/0.828, allocations: 1.11 MB / 0.9579 GB, free: 2.199 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/jenkins1/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