Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.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_latest_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_latest_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.001514/0.001514, allocations: 115.3 kB / 16.42 MB, free: 6.02 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.001678/0.001679, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.652/1.652, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.593/2.593, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002414/0.002414, allocations: 71.84 kB / 1.055 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8931/0.8955, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil): time 0.004346/0.8999, allocations: 3.084 MB / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004911/0.9048, allocations: 3.336 MB / 1.215 GB, free: 7.207 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002753/0.9052, allocations: 4 kB / 1.215 GB, free: 7.203 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001386/0.9066, allocations: 0.5653 MB / 1.215 GB, free: 6.641 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002671/0.9069, allocations: 127 kB / 1.215 GB, free: 6.516 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00184/0.9087, allocations: 0.7189 MB / 1.216 GB, free: 5.805 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001607/0.9103, allocations: 1.674 MB / 1.218 GB, free: 4.129 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003583/0.9107, allocations: 257.2 kB / 1.218 GB, free: 3.863 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005785/0.9113, allocations: 0.5879 MB / 1.219 GB, free: 3.273 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000664/0.912, allocations: 0.6072 MB / 1.219 GB, free: 2.664 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.000222/0.9122, allocations: 136 kB / 1.219 GB, free: 2.531 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001059/0.9133, allocations: 0.6515 MB / 1.22 GB, free: 1.879 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0005026/0.9138, allocations: 0.6156 MB / 1.22 GB, free: 1.262 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0007391/0.9145, allocations: 0.8746 MB / 1.221 GB, free: 392 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.003019/0.9175, allocations: 3.427 MB / 1.225 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.9176, allocations: 0 / 1.225 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.573e-06/0.9176, allocations: 4 kB / 1.225 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.421e-05/0.9176, allocations: 0 / 1.225 GB, free: 12.94 MB / 0.9512 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.00331/0.9209, allocations: 2.175 MB / 1.227 GB, free: 10.69 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.921, allocations: 8.031 kB / 1.227 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006382/0.9274, allocations: 0.6543 MB / 1.227 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002599/0.93, allocations: 1.627 MB / 1.229 GB, free: 8.328 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002172/0.9302, allocations: 136.5 kB / 1.229 GB, free: 8.18 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.9303, allocations: 28.38 kB / 1.229 GB, free: 8.152 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003629/0.934, allocations: 1.891 MB / 1.231 GB, free: 6.254 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.934, allocations: 0 / 1.231 GB, free: 6.254 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001128/0.9341, allocations: 12 kB / 1.231 GB, free: 6.242 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.9341, allocations: 8 kB / 1.231 GB, free: 6.234 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005434/0.9396, allocations: 2.618 MB / 1.234 GB, free: 3.617 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008132/0.9477, allocations: 4.593 MB / 1.238 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01032/0.9581, allocations: 2.897 MB / 1.241 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002517/0.9606, allocations: 1.193 MB / 1.242 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.013e-05/0.9607, allocations: 16.34 kB / 1.242 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003462/0.9642, allocations: 1.781 MB / 1.244 GB, free: 9.039 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=61): time 3.997e-06/0.9642, allocations: 0 / 1.244 GB, free: 9.039 MB / 0.9669 GB Notification: Performance of matching and sorting (n=61): time 0.008526/0.9728, allocations: 3.641 MB / 1.247 GB, free: 5.383 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.668e-05/0.9729, allocations: 97.66 kB / 1.248 GB, free: 5.266 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006396/0.9793, allocations: 2.755 MB / 1.25 GB, free: 2.465 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0003511/0.9797, allocations: 49.69 kB / 1.25 GB, free: 2.41 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001004/0.9807, allocations: 0.7048 MB / 1.251 GB, free: 1.699 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.000348/0.9811, allocations: 181.5 kB / 1.251 GB, free: 1.52 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004634/0.9815, allocations: 154.1 kB / 1.251 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.9817, allocations: 337.9 kB / 1.252 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002916/0.9846, allocations: 1.45 MB / 1.253 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002832/0.9875, allocations: 1.43 MB / 1.254 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00508/0.9926, allocations: 2.222 MB / 1.257 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.9926, allocations: 0 / 1.257 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.006911/0.9995, allocations: 2.975 MB / 1.259 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001074/0.9996, allocations: 83.38 kB / 1.26 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.9997, allocations: 4 kB / 1.26 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.117e-05/0.9997, allocations: 4 kB / 1.26 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001381/1.001, allocations: 183.7 kB / 1.26 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.888e-05/1.001, allocations: 0 / 1.26 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001763/1.003, allocations: 115.4 kB / 1.26 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001611/1.003, allocations: 51.94 kB / 1.26 GB, free: 8.461 MB / 0.9825 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.001793/1.005, allocations: 0.784 MB / 1.261 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008068/1.006, allocations: 173.8 kB / 1.261 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006348/1.012, allocations: 2.669 MB / 1.263 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.204e-05/1.012, allocations: 3.984 kB / 1.263 GB, free: 4.793 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/1.012, allocations: 4 kB / 1.263 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001401/1.014, allocations: 0.5728 MB / 1.264 GB, free: 4.195 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006387/1.014, allocations: 63.91 kB / 1.264 GB, free: 4.133 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0019/1.016, allocations: 115.9 kB / 1.264 GB, free: 4.02 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002043/1.016, allocations: 64.47 kB / 1.264 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006441/1.023, allocations: 2.6 MB / 1.267 GB, free: 1.328 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006235/1.029, allocations: 2.703 MB / 1.269 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00257/1.032, allocations: 1.246 MB / 1.271 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.004016/1.036, allocations: 1.98 MB / 1.273 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of Backend: time 4.61e-07/1.036, allocations: 0 / 1.273 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.006084/1.042, allocations: 2.017 MB / 1.275 GB, free: 9.301 MB / 0.9981 GB Notification: Performance of SimCode: time 0.007381/1.049, allocations: 3.835 MB / 1.278 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of Templates: time 0.06477/1.114, allocations: 38.09 MB / 1.315 GB, free: 15.48 MB / 1.045 GB make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.makefile (rm -f Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_BaseClasses_Examples_DryCoil.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches