Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.HADryCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWat.y|TAir.y|mWat_flow.y|mAir_flow.y|hADryCoi.hA_1|hADryCoi.hA_2|hADryCoiAir.hA_1|hADryCoiAir.hA_2|hADryCoiWat.hA_1|hADryCoiWat.hA_2",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWat.y|TAir.y|mWat_flow.y|mAir_flow.y|hADryCoi.hA_1|hADryCoi.hA_2|hADryCoiAir.hA_1|hADryCoiAir.hA_2|hADryCoiWat.hA_1|hADryCoiWat.hA_2",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.001449/0.00145, allocations: 168.7 kB / 15.95 MB, free: 204 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.369/1.369, allocations: 223.3 MB / 240 MB, free: 5.285 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.455/2.455, allocations: 390.9 MB / 0.666 GB, free: 2.508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004079/0.000408, allocations: 15.94 kB / 0.8154 GB, free: 13.65 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6747/0.6751, allocations: 142.4 MB / 0.9544 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.001892/0.677, allocations: 1.784 MB / 0.9562 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001516/0.6786, allocations: 0.9789 MB / 0.9571 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001428/0.6787, allocations: 6.375 kB / 0.9572 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.398e-05/0.6788, allocations: 11.86 kB / 0.9572 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000245/0.679, allocations: 74.84 kB / 0.9572 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003013/0.6793, allocations: 136.4 kB / 0.9574 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002291/0.6796, allocations: 261.2 kB / 0.9576 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.6797, allocations: 58.2 kB / 0.9577 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.714e-05/0.6798, allocations: 89.05 kB / 0.9578 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001861/0.68, allocations: 122.7 kB / 0.9579 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.108e-05/0.68, allocations: 13.16 kB / 0.9579 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003342/0.6804, allocations: 274.6 kB / 0.9581 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.817e-05/0.6804, allocations: 33.09 kB / 0.9582 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.433e-05/0.6805, allocations: 64.67 kB / 0.9582 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002029/0.6807, allocations: 231.2 kB / 0.9585 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.6807, allocations: 0 / 0.9585 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.253e-06/0.6807, allocations: 0 / 0.9585 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.6807, allocations: 0 / 0.9585 GB, free: 4.688 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0008064/0.6815, allocations: 0.6105 MB / 0.9591 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.6816, allocations: 8.25 kB / 0.9591 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001906/0.6818, allocations: 44.19 kB / 0.9591 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002339/0.682, allocations: 267.4 kB / 0.9594 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.682, allocations: 9.781 kB / 0.9594 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.271e-05/0.6821, allocations: 19 kB / 0.9594 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004576/0.6825, allocations: 250.2 kB / 0.9596 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.6825, allocations: 0 / 0.9596 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.736e-05/0.6826, allocations: 6.75 kB / 0.9596 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.6826, allocations: 4.125 kB / 0.9596 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006142/0.6832, allocations: 243.5 kB / 0.9599 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008951/0.6841, allocations: 0.949 MB / 0.9608 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007398/0.6848, allocations: 267 kB / 0.9611 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003061/0.6852, allocations: 128.2 kB / 0.9612 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.914e-05/0.6852, allocations: 1.906 kB / 0.9612 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.878e-05/0.6852, allocations: 36.22 kB / 0.9612 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.232e-06/0.6852, allocations: 0 / 0.9612 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.001102/0.6863, allocations: 403.9 kB / 0.9616 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/0.6864, allocations: 83.3 kB / 0.9617 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000231/0.6866, allocations: 269.3 kB / 0.9619 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.6866, allocations: 26.86 kB / 0.962 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.62e-05/0.6867, allocations: 164.7 kB / 0.9621 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.131e-05/0.6868, allocations: 57.75 kB / 0.9622 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.068e-05/0.6868, allocations: 4.938 kB / 0.9622 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.826e-05/0.6869, allocations: 336.4 kB / 0.9625 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003003/0.6872, allocations: 117 kB / 0.9626 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003094/0.6875, allocations: 161 kB / 0.9628 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003023/0.6878, allocations: 123.9 kB / 0.9629 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.6878, allocations: 1.094 kB / 0.9629 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007262/0.6885, allocations: 333 kB / 0.9632 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.6886, allocations: 6.938 kB / 0.9632 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.6886, allocations: 2.75 kB / 0.9632 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.6886, allocations: 6.062 kB / 0.9632 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002649/0.6889, allocations: 68.98 kB / 0.9633 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.6889, allocations: 3.969 kB / 0.9633 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002099/0.6891, allocations: 53.55 kB / 0.9633 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.722e-05/0.6891, allocations: 10.47 kB / 0.9633 GB, free: 0.9883 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 23 * 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 8.661e-05/0.6892, allocations: 134.3 kB / 0.9635 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.6893, allocations: 28.88 kB / 0.9635 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007158/0.69, allocations: 337 kB / 0.9638 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.69, allocations: 2.812 kB / 0.9638 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.6901, allocations: 0 / 0.9638 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.6901, allocations: 1.156 kB / 0.9638 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003081/0.6904, allocations: 301.6 kB / 0.9641 GB, free: 384 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.6904, allocations: 1.25 kB / 0.9641 GB, free: 384 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002532/0.6906, allocations: 66.95 kB / 0.9642 GB, free: 364 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.6907, allocations: 2.375 kB / 0.9642 GB, free: 364 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.6907, allocations: 5.25 kB / 0.9642 GB, free: 360 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.6907, allocations: 1.125 kB / 0.9642 GB, free: 360 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.6907, allocations: 1.125 kB / 0.9642 GB, free: 360 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007277/0.6914, allocations: 481.4 kB / 0.9646 GB, free: 36 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 9.378e-05/0.6915, allocations: 111.7 kB / 0.9648 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.478e-05/0.6916, allocations: 0 / 0.9648 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002488/0.6918, allocations: 43.58 kB / 0.9648 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.134e-05/0.6919, allocations: 18.89 kB / 0.9648 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.6919, allocations: 4.875 kB / 0.9648 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000172/0.6921, allocations: 187.9 kB / 0.965 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6921, allocations: 0 / 0.965 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000357/0.6925, allocations: 58.77 kB / 0.9651 GB, free: 15.75 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.0001943/0.6927, allocations: 118.4 kB / 0.9652 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000705/0.6934, allocations: 266.7 kB / 0.9654 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.6934, allocations: 0 / 0.9654 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000355/0.6938, allocations: 148.2 kB / 0.9656 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005835/0.6944, allocations: 80.55 kB / 0.9656 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007852/0.6951, allocations: 0.4927 MB / 0.9661 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003144/0.6955, allocations: 0.7545 MB / 0.9669 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001595/0.6956, allocations: 36.73 kB / 0.9669 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.124e-05/0.6957, allocations: 24.47 kB / 0.9669 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.6957, allocations: 0 / 0.9669 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of Templates: time 0.007114/0.7028, allocations: 3.422 MB / 0.9703 GB, free: 12.63 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches