Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.DXSystems.BaseClasses.Examples.DryCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dryCoi.m_flow|onOff.y|TEvaIn.y|dryCoi.Q_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil") translateModel(Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dryCoi.m_flow|onOff.y|TEvaIn.y|dryCoi.Q_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002805/0.002805, allocations: 192.5 kB / 16.14 MB, free: 6.711 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.543/1.543, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.978/2.978, allocations: 437 MB / 0.71 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 67.89 kB / 0.8686 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7302/0.7322, allocations: 151.6 MB / 1.017 GB, free: 2.801 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil): time 0.004843/0.7371, allocations: 3.119 MB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004953/0.7421, allocations: 3.381 MB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002135/0.7423, allocations: 7.938 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001406/0.7437, allocations: 0.5503 MB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002489/0.744, allocations: 119.2 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001517/0.7455, allocations: 0.5861 MB / 1.024 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001674/0.7472, allocations: 1.58 MB / 1.026 GB, free: 9.43 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003628/0.7476, allocations: 251.3 kB / 1.026 GB, free: 9.172 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000635/0.7482, allocations: 0.5294 MB / 1.027 GB, free: 8.641 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006577/0.7489, allocations: 0.5915 MB / 1.027 GB, free: 8.047 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001822/0.7491, allocations: 88 kB / 1.027 GB, free: 7.961 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001033/0.7501, allocations: 0.5774 MB / 1.028 GB, free: 7.383 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0005999/0.7507, allocations: 0.5727 MB / 1.028 GB, free: 6.809 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0008838/0.7516, allocations: 0.8354 MB / 1.029 GB, free: 5.969 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.00332/0.755, allocations: 3.326 MB / 1.032 GB, free: 2.633 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.755, allocations: 4 kB / 1.032 GB, free: 2.629 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.513e-06/0.755, allocations: 0 / 1.032 GB, free: 2.629 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.743e-05/0.755, allocations: 0 / 1.032 GB, free: 2.629 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.003712/0.7587, allocations: 2.164 MB / 1.034 GB, free: 400 kB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.7588, allocations: 8.031 kB / 1.034 GB, free: 392 kB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006291/0.7651, allocations: 0.6466 MB / 1.035 GB, free: 15.73 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002716/0.7678, allocations: 1.631 MB / 1.037 GB, free: 14.03 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000227/0.7681, allocations: 136.5 kB / 1.037 GB, free: 13.89 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/0.7682, allocations: 28.38 kB / 1.037 GB, free: 13.86 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003686/0.7719, allocations: 1.888 MB / 1.039 GB, free: 11.96 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.7719, allocations: 0 / 1.039 GB, free: 11.96 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001164/0.772, allocations: 15.98 kB / 1.039 GB, free: 11.95 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/0.7721, allocations: 15.94 kB / 1.039 GB, free: 11.93 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005547/0.7776, allocations: 2.614 MB / 1.041 GB, free: 9.316 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008929/0.7866, allocations: 4.605 MB / 1.046 GB, free: 4.641 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01042/0.797, allocations: 2.889 MB / 1.049 GB, free: 1.742 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002717/0.7998, allocations: 1.193 MB / 1.05 GB, free: 0.5469 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 9.763e-05/0.7999, allocations: 16.36 kB / 1.05 GB, free: 0.5312 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003712/0.8036, allocations: 1.796 MB / 1.052 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=61): time 4.439e-06/0.8036, allocations: 0 / 1.052 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of matching and sorting (n=61): time 0.008692/0.8123, allocations: 3.637 MB / 1.055 GB, free: 11.06 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/0.8125, allocations: 97.66 kB / 1.055 GB, free: 10.95 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004844/0.8173, allocations: 2.751 MB / 1.058 GB, free: 8.152 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.00035/0.8177, allocations: 57.69 kB / 1.058 GB, free: 8.09 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008377/0.8186, allocations: 0.6971 MB / 1.059 GB, free: 7.387 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003046/0.8189, allocations: 181.4 kB / 1.059 GB, free: 7.207 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003978/0.8193, allocations: 162.1 kB / 1.059 GB, free: 7.043 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.8194, allocations: 329.9 kB / 1.059 GB, free: 6.715 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002891/0.8223, allocations: 1.45 MB / 1.061 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002822/0.8252, allocations: 1.434 MB / 1.062 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004805/0.83, allocations: 2.215 MB / 1.064 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.83, allocations: 0 / 1.064 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.006518/0.8365, allocations: 2.983 MB / 1.067 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001015/0.8367, allocations: 87.31 kB / 1.067 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.8367, allocations: 4 kB / 1.067 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.215e-05/0.8367, allocations: 4 kB / 1.067 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001306/0.838, allocations: 179.7 kB / 1.067 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.331e-05/0.838, allocations: 4 kB / 1.067 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001613/0.8397, allocations: 107.6 kB / 1.068 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001464/0.8398, allocations: 47.84 kB / 1.068 GB, free: 14.14 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 32 (speRat.nextEventScaled,speRat.nextEvent,$PRE.speRat.nextEvent,speRat.last,speRat.b,speRat.a,dryCoi.coiCap.checkBoundsTCon[4],$PRE.dryCoi.coiCap.checkBoundsTCon[4],dryCoi.coiCap.checkBoundsTCon[3],$PRE.dryCoi.coiCap.checkBoundsTCon[3],dryCoi.coiCap.checkBoundsTCon[2],$PRE.dryCoi.coiCap.checkBoundsTCon[2],dryCoi.coiCap.checkBoundsTCon[1],$PRE.dryCoi.coiCap.checkBoundsTCon[1],dryCoi.coiCap.checkBoundsTEva[4],$PRE.dryCoi.coiCap.checkBoundsTEva[4],dryCoi.coiCap.checkBoundsTEva[3],$PRE.dryCoi.coiCap.checkBoundsTEva[3],dryCoi.coiCap.checkBoundsTEva[2],$PRE.dryCoi.coiCap.checkBoundsTEva[2],dryCoi.coiCap.checkBoundsTEva[1],$PRE.dryCoi.coiCap.checkBoundsTEva[1],dryCoi.coiCap.stage,$whenCondition9,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 2 * 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 0.001736/0.8416, allocations: 0.7801 MB / 1.068 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006581/0.8422, allocations: 177.8 kB / 1.068 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006465/0.8487, allocations: 2.661 MB / 1.071 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.428e-05/0.8487, allocations: 12 kB / 1.071 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/0.8488, allocations: 0 / 1.071 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.231e-05/0.8488, allocations: 7.984 kB / 1.071 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003778/0.8526, allocations: 2.33 MB / 1.073 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.8526, allocations: 0 / 1.073 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001304/0.8539, allocations: 183.7 kB / 1.074 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.041e-05/0.8539, allocations: 4 kB / 1.074 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001084/0.854, allocations: 39.94 kB / 1.074 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.049e-05/0.854, allocations: 4 kB / 1.074 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.854, allocations: 3.938 kB / 1.074 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005865/0.8599, allocations: 2.551 MB / 1.076 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001418/0.8614, allocations: 0.5844 MB / 1.077 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003496/0.8617, allocations: 55.98 kB / 1.077 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001429/0.8632, allocations: 119.8 kB / 1.077 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001799/0.8633, allocations: 60.42 kB / 1.077 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001322/0.8635, allocations: 51.94 kB / 1.077 GB, free: 4.387 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.003659/0.8672, allocations: 1.972 MB / 1.079 GB, free: 2.391 MB / 0.8262 GB Notification: Performance of sort global known variables: time 5.51e-07/0.8672, allocations: 0 / 1.079 GB, free: 2.391 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001439/0.8686, allocations: 383.8 kB / 1.079 GB, free: 2.016 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 23 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition9,dryCoi.coiCap.stage,dryCoi.coiCap.checkBoundsTEva[1],dryCoi.coiCap.checkBoundsTEva[2],dryCoi.coiCap.checkBoundsTEva[3],dryCoi.coiCap.checkBoundsTEva[4],dryCoi.coiCap.checkBoundsTCon[1],dryCoi.coiCap.checkBoundsTCon[2],dryCoi.coiCap.checkBoundsTCon[3],dryCoi.coiCap.checkBoundsTCon[4],speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled) * Number of discrete states: 9 (speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition9,dryCoi.coiCap.stage,dryCoi.coiCap.checkBoundsTEva[dryCoi.coiCap.stage],dryCoi.coiCap.checkBoundsTCon[dryCoi.coiCap.stage]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 8 * 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.000675/0.8693, allocations: 254.9 kB / 1.079 GB, free: 1.758 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.006038/0.8753, allocations: 2.978 MB / 1.082 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/0.8754, allocations: 4 kB / 1.082 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.00277/0.8782, allocations: 1.346 MB / 1.084 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002527/0.8807, allocations: 441.9 kB / 1.084 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008595/0.8893, allocations: 4.587 MB / 1.089 GB, free: 8.34 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001533/0.8909, allocations: 1.6 MB / 1.09 GB, free: 6.711 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.002626/0.8935, allocations: 0.6109 MB / 1.091 GB, free: 6.098 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005915/0.8941, allocations: 135.3 kB / 1.091 GB, free: 5.965 MB / 0.8419 GB Notification: Performance of SimCode: time 3.5e-07/0.8941, allocations: 0 / 1.091 GB, free: 5.965 MB / 0.8419 GB Notification: Performance of Templates: time 0.05976/0.9539, allocations: 31.55 MB / 1.122 GB, free: 6.652 MB / 0.8731 GB make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.makefile (rm -f Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.sim & ./Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_BaseClasses_Examples_DryCoil.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches