Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.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.DXCoils.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speSel.speRat",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speSel.speRat",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 84.38 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.001286/0.001286, 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.46/1.46, allocations: 223.3 MB / 240 MB, free: 5.434 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.41/2.41, allocations: 390.9 MB / 0.666 GB, free: 2.5 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003786/0.0003787, allocations: 8 kB / 0.8154 GB, free: 13.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6863/0.6867, allocations: 142.4 MB / 0.9545 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect): time 0.002183/0.6889, allocations: 1.763 MB / 0.9562 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002392/0.6913, allocations: 2.306 MB / 0.9584 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001387/0.6915, allocations: 5.344 kB / 0.9584 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001143/0.6927, allocations: 488.9 kB / 0.9589 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002184/0.6929, allocations: 91.12 kB / 0.959 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005781/0.6935, allocations: 198.6 kB / 0.9592 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003591/0.6938, allocations: 310 kB / 0.9595 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.694, allocations: 67.89 kB / 0.9595 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001517/0.6941, allocations: 124.2 kB / 0.9597 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001696/0.6943, allocations: 131.2 kB / 0.9598 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.651e-05/0.6943, allocations: 6.5 kB / 0.9598 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000144/0.6945, allocations: 53.72 kB / 0.9598 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001241/0.6946, allocations: 114.6 kB / 0.9599 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.461e-05/0.6947, allocations: 125 kB / 0.9601 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004216/0.6951, allocations: 0.5308 MB / 0.9606 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.6952, allocations: 1 kB / 0.9606 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.144e-06/0.6952, allocations: 3.938 kB / 0.9606 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.825e-06/0.6952, allocations: 0 / 0.9606 GB, free: 3.391 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0009398/0.6961, allocations: 0.8111 MB / 0.9614 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.6962, allocations: 9.625 kB / 0.9614 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.61e-05/0.6963, allocations: 68.89 kB / 0.9615 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004431/0.6967, allocations: 391.8 kB / 0.9618 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/0.6968, allocations: 7.312 kB / 0.9618 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.461e-05/0.6968, allocations: 2.656 kB / 0.9618 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001917/0.697, allocations: 97.98 kB / 0.9619 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.697, allocations: 0 / 0.9619 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.697, allocations: 9.109 kB / 0.9619 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.697, allocations: 1.125 kB / 0.9619 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/0.6971, allocations: 42.94 kB / 0.962 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006103/0.6978, allocations: 0.5147 MB / 0.9625 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003531/0.6981, allocations: 106.1 kB / 0.9626 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.093e-05/0.6982, allocations: 31.31 kB / 0.9626 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.6982, allocations: 1.25 kB / 0.9626 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001605/0.6984, allocations: 90.61 kB / 0.9627 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.462e-06/0.6984, allocations: 0 / 0.9627 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003988/0.6988, allocations: 186.7 kB / 0.9629 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/0.6989, allocations: 107.8 kB / 0.963 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009677/0.6998, allocations: 0.8857 MB / 0.9638 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.6999, allocations: 31.58 kB / 0.9639 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002093/0.7001, allocations: 296.9 kB / 0.9642 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.445e-05/0.7001, allocations: 18.27 kB / 0.9642 GB, free: 0.5508 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.881e-06/0.7001, allocations: 1.438 kB / 0.9642 GB, free: 0.5508 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.455e-05/0.7002, allocations: 311.3 kB / 0.9645 GB, free: 248 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.783e-05/0.7002, allocations: 30.52 kB / 0.9645 GB, free: 232 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.357e-05/0.7003, allocations: 76.42 kB / 0.9646 GB, free: 168 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.176e-05/0.7004, allocations: 34.58 kB / 0.9646 GB, free: 152 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.7004, allocations: 0 / 0.9646 GB, free: 152 kB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002279/0.7006, allocations: 170 kB / 0.9648 GB, free: 44 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.7007, allocations: 4.969 kB / 0.9648 GB, free: 44 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.7007, allocations: 4 kB / 0.9648 GB, free: 40 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.7007, allocations: 8.953 kB / 0.9648 GB, free: 32 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.012e-05/0.7008, allocations: 15.89 kB / 0.9648 GB, free: 28 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.7008, allocations: 1.078 kB / 0.9648 GB, free: 28 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001201/0.7009, allocations: 12.11 kB / 0.9648 GB, free: 20 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.7009, allocations: 6.641 kB / 0.9648 GB, free: 16 kB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.sta.combiTimeTable.nextTimeEvent,sta.y,sta.combiTimeTable.nextTimeEvent,$PRE.sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 0.000358/0.7013, allocations: 318.4 kB / 0.9651 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.529e-05/0.7014, allocations: 64.66 kB / 0.9652 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001208/0.7015, allocations: 76.2 kB / 0.9653 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.7015, allocations: 9.141 kB / 0.9653 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.7015, allocations: 1.312 kB / 0.9653 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.7015, allocations: 0 / 0.9653 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004229/0.702, allocations: 382 kB / 0.9656 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.702, allocations: 0 / 0.9656 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.039e-05/0.702, allocations: 13.39 kB / 0.9657 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.702, allocations: 1.031 kB / 0.9657 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.7021, allocations: 1.781 kB / 0.9657 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.7021, allocations: 0 / 0.9657 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.7021, allocations: 5.109 kB / 0.9657 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000301/0.7024, allocations: 193.4 kB / 0.9658 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001269/0.7025, allocations: 139.9 kB / 0.966 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.735e-05/0.7026, allocations: 9.156 kB / 0.966 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.7027, allocations: 3.938 kB / 0.966 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.163e-05/0.7028, allocations: 11.94 kB / 0.966 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-05/0.7028, allocations: 7.172 kB / 0.966 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008165/0.7036, allocations: 0.648 MB / 0.9666 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7036, allocations: 0 / 0.9666 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003144/0.7039, allocations: 66.2 kB / 0.9667 GB, free: 14.71 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,sta.y,sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001075/0.705, allocations: 436.4 kB / 0.9671 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002292/0.7053, allocations: 67.88 kB / 0.9672 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.7053, allocations: 1 kB / 0.9672 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.524e-05/0.7054, allocations: 33.17 kB / 0.9672 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006593/0.706, allocations: 137.5 kB / 0.9673 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001674/0.7077, allocations: 1.172 MB / 0.9685 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005672/0.7083, allocations: 0.9803 MB / 0.9694 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001583/0.7085, allocations: 47.66 kB / 0.9695 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.699e-05/0.7085, allocations: 22.38 kB / 0.9695 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of SimCode: time 4.51e-07/0.7085, allocations: 0 / 0.9695 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of Templates: time 0.01067/0.7192, allocations: 5.28 MB / 0.9747 GB, free: 10.22 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches