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.001459/0.001459, allocations: 107.2 kB / 16.35 MB, free: 5.824 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.001597/0.001597, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.333/1.333, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.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.181/2.181, allocations: 390.3 MB / 0.6655 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 64.64 kB / 0.814 GB, free: 32.67 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2558/0.2571, allocations: 140.4 MB / 0.9511 GB, free: 8.016 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect): time 0.004113/0.2613, allocations: 2.098 MB / 0.9532 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003203/0.2645, allocations: 2.565 MB / 0.9557 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000116/0.2646, allocations: 4 kB / 0.9557 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001144/0.2658, allocations: 0.5056 MB / 0.9562 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000234/0.2661, allocations: 111.4 kB / 0.9563 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000574/0.2666, allocations: 239.1 kB / 0.9565 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003862/0.267, allocations: 350.4 kB / 0.9569 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.2672, allocations: 64.72 kB / 0.9569 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001308/0.2673, allocations: 123.4 kB / 0.957 GB, free: 1.957 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001725/0.2675, allocations: 139.2 kB / 0.9572 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.992e-05/0.2675, allocations: 8 kB / 0.9572 GB, free: 1.812 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001486/0.2677, allocations: 63.97 kB / 0.9572 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001429/0.2678, allocations: 127.4 kB / 0.9574 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001768/0.268, allocations: 214.5 kB / 0.9576 GB, free: 1.414 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005994/0.2686, allocations: 0.6812 MB / 0.9582 GB, free: 0.7305 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.2686, allocations: 0 / 0.9582 GB, free: 0.7305 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2686, allocations: 0 / 0.9582 GB, free: 0.7305 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.108e-05/0.2687, allocations: 4 kB / 0.9582 GB, free: 0.7266 MB / 0.7325 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.001146/0.2698, allocations: 0.8641 MB / 0.9591 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.2699, allocations: 12.03 kB / 0.9591 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.737e-05/0.27, allocations: 64.09 kB / 0.9592 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004864/0.2705, allocations: 436 kB / 0.9596 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.2705, allocations: 7.938 kB / 0.9596 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.458e-05/0.2705, allocations: 4 kB / 0.9596 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002056/0.2707, allocations: 104.2 kB / 0.9597 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.2707, allocations: 0 / 0.9597 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.2708, allocations: 4 kB / 0.9597 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.2708, allocations: 0 / 0.9597 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001236/0.2709, allocations: 43.97 kB / 0.9597 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006873/0.2716, allocations: 0.5046 MB / 0.9602 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000367/0.272, allocations: 114.6 kB / 0.9603 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.921e-05/0.2721, allocations: 32.84 kB / 0.9604 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/0.2721, allocations: 7.984 kB / 0.9604 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001716/0.2723, allocations: 83.28 kB / 0.9604 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=7): time 1.392e-06/0.2723, allocations: 3.938 kB / 0.9604 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of matching and sorting (n=7): time 0.0004115/0.2727, allocations: 196.8 kB / 0.9606 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.797e-05/0.2728, allocations: 110.7 kB / 0.9607 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009387/0.2737, allocations: 0.8834 MB / 0.9616 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.2737, allocations: 29.7 kB / 0.9616 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002399/0.274, allocations: 304 kB / 0.9619 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 2.465e-05/0.274, allocations: 15.75 kB / 0.9619 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.84e-05/0.2741, allocations: 29.7 kB / 0.962 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.569e-05/0.2742, allocations: 310 kB / 0.9623 GB, free: 12.35 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.927e-05/0.2743, allocations: 31.92 kB / 0.9623 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.2744, allocations: 76.2 kB / 0.9624 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.2745, allocations: 70 kB / 0.9624 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2745, allocations: 0 / 0.9624 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002733/0.2748, allocations: 172.8 kB / 0.9626 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.2748, allocations: 5.719 kB / 0.9626 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.2748, allocations: 0 / 0.9626 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.2749, allocations: 4 kB / 0.9626 GB, free: 11.97 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.164e-05/0.2749, allocations: 19.98 kB / 0.9626 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.275, allocations: 3.938 kB / 0.9626 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001148/0.2751, allocations: 4 kB / 0.9626 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.2751, allocations: 0 / 0.9626 GB, free: 11.95 MB / 0.7481 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 ($PRE.sta.combiTimeTable.nextTimeEvent,$whenCondition1,sta.combiTimeTable.nextTimeEventScaled,$PRE.sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent,sta.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002819/0.2754, allocations: 331.2 kB / 0.9629 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.082e-05/0.2755, allocations: 63.16 kB / 0.963 GB, free: 11.55 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001082/0.2756, allocations: 74 kB / 0.9631 GB, free: 11.47 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.2756, allocations: 0 / 0.9631 GB, free: 11.47 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.2756, allocations: 3.938 kB / 0.9631 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.2756, allocations: 3.984 kB / 0.9631 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003435/0.2759, allocations: 381.4 kB / 0.9634 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.276, allocations: 4 kB / 0.9635 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.573e-05/0.276, allocations: 4 kB / 0.9635 GB, free: 11.03 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.276, allocations: 0 / 0.9635 GB, free: 11.03 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.276, allocations: 7.984 kB / 0.9635 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.276, allocations: 4 kB / 0.9635 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.2761, allocations: 7.938 kB / 0.9635 GB, free: 11.01 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002737/0.2763, allocations: 188.2 kB / 0.9637 GB, free: 10.81 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001501/0.2765, allocations: 136.3 kB / 0.9638 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.371e-05/0.2766, allocations: 192 / 0.9638 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.2767, allocations: 11.92 kB / 0.9638 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.866e-05/0.2767, allocations: 19.86 kB / 0.9638 GB, free: 10.62 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.708e-05/0.2768, allocations: 8 kB / 0.9638 GB, free: 10.62 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006968/0.2775, allocations: 0.6551 MB / 0.9645 GB, free: 9.965 MB / 0.7481 GB Notification: Performance of sort global known variables: time 4.6e-07/0.2775, allocations: 0 / 0.9645 GB, free: 9.965 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002879/0.2778, allocations: 59.98 kB / 0.9645 GB, free: 9.906 MB / 0.7481 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 (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.001026/0.2788, allocations: 422.3 kB / 0.9649 GB, free: 9.645 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002269/0.279, allocations: 71.91 kB / 0.965 GB, free: 9.574 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.279, allocations: 4 kB / 0.965 GB, free: 9.57 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 9.237e-05/0.2792, allocations: 39.98 kB / 0.965 GB, free: 9.531 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005822/0.2798, allocations: 140.8 kB / 0.9652 GB, free: 9.398 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/0.2812, allocations: 1.094 MB / 0.9662 GB, free: 8.273 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005439/0.2818, allocations: 0.9819 MB / 0.9672 GB, free: 7.266 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001539/0.282, allocations: 42.59 kB / 0.9672 GB, free: 7.223 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.159e-05/0.282, allocations: 23.42 kB / 0.9673 GB, free: 7.203 MB / 0.7481 GB Notification: Performance of SimCode: time 2.3e-07/0.282, allocations: 0 / 0.9673 GB, free: 7.203 MB / 0.7481 GB Notification: Performance of Templates: time 0.01036/0.2924, allocations: 5.679 MB / 0.9728 GB, free: 1.641 MB / 0.7481 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 -s gbode -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/jenkins1/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