Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.SpeedShift,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speShi.y|speShi.speRat",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speShi.y|speShi.speRat",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001068/0.001068, 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.001115/0.001115, allocations: 195.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.331/1.331, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.3/2.3, allocations: 390.2 MB / 0.6642 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 67.91 kB / 0.8119 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6323/0.6336, allocations: 140.4 MB / 0.9489 GB, free: 9.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift): time 0.002708/0.6363, allocations: 2.045 MB / 0.9509 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002587/0.6389, allocations: 2.516 MB / 0.9534 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001118/0.6391, allocations: 1.656 kB / 0.9534 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001078/0.6402, allocations: 484.3 kB / 0.9538 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.02e-05/0.6403, allocations: 53.73 kB / 0.9539 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007123/0.641, allocations: 206.7 kB / 0.9541 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003353/0.6413, allocations: 309.7 kB / 0.9544 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001725/0.6415, allocations: 90.77 kB / 0.9545 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.6416, allocations: 100.7 kB / 0.9546 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001524/0.6418, allocations: 132.9 kB / 0.9547 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.111e-05/0.6418, allocations: 5.594 kB / 0.9547 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004446/0.6423, allocations: 308.3 kB / 0.955 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.6424, allocations: 102.2 kB / 0.9551 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001446/0.6426, allocations: 197.5 kB / 0.9553 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005861/0.6431, allocations: 0.7633 MB / 0.956 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.6432, allocations: 4 kB / 0.956 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6432, allocations: 0 / 0.956 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.653e-06/0.6432, allocations: 3.938 kB / 0.956 GB, free: 3.852 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0007869/0.644, allocations: 0.831 MB / 0.9569 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.644, allocations: 10.19 kB / 0.9569 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.675e-05/0.6441, allocations: 60.94 kB / 0.9569 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000284/0.6444, allocations: 357 kB / 0.9573 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.6444, allocations: 7.125 kB / 0.9573 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/0.6444, allocations: 11 kB / 0.9573 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00021/0.6447, allocations: 135.2 kB / 0.9574 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.6447, allocations: 0 / 0.9574 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.6447, allocations: 1.375 kB / 0.9574 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.6447, allocations: 1.375 kB / 0.9574 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001524/0.6449, allocations: 99.97 kB / 0.9575 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000623/0.6455, allocations: 0.5348 MB / 0.958 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/0.6457, allocations: 118.4 kB / 0.9581 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.172e-05/0.6457, allocations: 61.16 kB / 0.9582 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.944e-05/0.6458, allocations: 4.812 kB / 0.9582 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002453/0.646, allocations: 132.9 kB / 0.9583 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.432e-06/0.6461, allocations: 1.094 kB / 0.9583 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0004445/0.6465, allocations: 300.7 kB / 0.9586 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.994e-05/0.6465, allocations: 84.36 kB / 0.9587 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007823/0.6473, allocations: 0.7603 MB / 0.9594 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.6474, allocations: 26.8 kB / 0.9595 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001918/0.6476, allocations: 287.9 kB / 0.9597 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.913e-05/0.6476, allocations: 20.69 kB / 0.9598 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.692e-05/0.6477, allocations: 35.23 kB / 0.9598 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.54e-05/0.6477, allocations: 312 kB / 0.9601 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.837e-05/0.6478, allocations: 47.69 kB / 0.9601 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.782e-05/0.6479, allocations: 53 kB / 0.9602 GB, free: 0.5977 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/0.648, allocations: 151.3 kB / 0.9603 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.648, allocations: 3.938 kB / 0.9603 GB, free: 500 kB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002855/0.6483, allocations: 255.6 kB / 0.9606 GB, free: 356 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.163e-05/0.6484, allocations: 41.31 kB / 0.9606 GB, free: 316 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.6484, allocations: 3.938 kB / 0.9606 GB, free: 312 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.6484, allocations: 5.219 kB / 0.9606 GB, free: 308 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.165e-05/0.6485, allocations: 10.56 kB / 0.9606 GB, free: 304 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.6485, allocations: 1.281 kB / 0.9606 GB, free: 304 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001265/0.6487, allocations: 12.95 kB / 0.9607 GB, free: 296 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.14e-05/0.6487, allocations: 7.594 kB / 0.9607 GB, free: 292 kB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (booleanToInteger.y,greaterThreshold.y,speRat.nextEventScaled,speRat.nextEvent,$PRE.speRat.nextEvent,speRat.last,speRat.b,speRat.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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.0002675/0.649, allocations: 337.5 kB / 0.961 GB, free: 32 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.495e-05/0.6491, allocations: 65.3 kB / 0.961 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004434/0.6495, allocations: 297.2 kB / 0.9613 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.6495, allocations: 1.438 kB / 0.9613 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.6495, allocations: 0 / 0.9613 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.6495, allocations: 1.094 kB / 0.9613 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003906/0.6499, allocations: 369.1 kB / 0.9617 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.65, allocations: 11.92 kB / 0.9617 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.138e-05/0.65, allocations: 6.438 kB / 0.9617 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.65, allocations: 0 / 0.9617 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.65, allocations: 3.719 kB / 0.9617 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.65, allocations: 0 / 0.9617 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.65, allocations: 1.469 kB / 0.9617 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004119/0.6505, allocations: 308.8 kB / 0.962 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000135/0.6506, allocations: 145.1 kB / 0.9621 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.588e-05/0.6507, allocations: 10.42 kB / 0.9621 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.6508, allocations: 4.75 kB / 0.9621 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.167e-05/0.6508, allocations: 6.406 kB / 0.9622 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/0.6509, allocations: 12.7 kB / 0.9622 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006596/0.6515, allocations: 0.56 MB / 0.9627 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.234e-06/0.6515, allocations: 0.9062 kB / 0.9627 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004866/0.652, allocations: 120.7 kB / 0.9628 GB, free: 14.81 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: 8 ($whenCondition1,speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled,greaterThreshold.y,booleanToInteger.y) * Number of discrete states: 6 (speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.00045/0.6525, allocations: 197.6 kB / 0.963 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003402/0.6528, allocations: 204.4 kB / 0.9632 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.6529, allocations: 0 / 0.9632 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001666/0.653, allocations: 149.7 kB / 0.9634 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005491/0.6536, allocations: 102.6 kB / 0.9635 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001619/0.6552, allocations: 1.138 MB / 0.9646 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005623/0.6558, allocations: 0.9656 MB / 0.9655 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.174e-05/0.6559, allocations: 24.27 kB / 0.9655 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.404e-05/0.6559, allocations: 14.34 kB / 0.9655 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of SimCode: time 5.71e-07/0.6559, allocations: 0 / 0.9655 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of Templates: time 0.0106/0.6665, allocations: 4.97 MB / 0.9704 GB, free: 10.39 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches