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.001468/0.001468, allocations: 104.2 kB / 16.27 MB, free: 6.414 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.00156/0.001559, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.42/1.42, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.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.272/2.272, allocations: 390.2 MB / 0.6653 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 66.44 kB / 0.8132 GB, free: 33.1 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3032/0.3046, allocations: 140.4 MB / 0.9503 GB, free: 8.848 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift): time 0.004121/0.3087, allocations: 1.983 MB / 0.9522 GB, free: 6.84 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003801/0.3126, allocations: 2.496 MB / 0.9547 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000181/0.3128, allocations: 7.938 kB / 0.9547 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001386/0.3142, allocations: 474.2 kB / 0.9551 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000206/0.3145, allocations: 63.61 kB / 0.9552 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001016/0.3155, allocations: 279.2 kB / 0.9555 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004895/0.316, allocations: 306.4 kB / 0.9557 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000197/0.3162, allocations: 96.69 kB / 0.9558 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001945/0.3164, allocations: 103.5 kB / 0.9559 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002128/0.3166, allocations: 119.3 kB / 0.9561 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.75e-05/0.3167, allocations: 11.98 kB / 0.9561 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005783/0.3173, allocations: 315.6 kB / 0.9564 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001316/0.3174, allocations: 107.5 kB / 0.9565 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002162/0.3176, allocations: 202.6 kB / 0.9567 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0009829/0.3186, allocations: 0.771 MB / 0.9574 GB, free: 1.52 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.952e-06/0.3186, allocations: 8 kB / 0.9574 GB, free: 1.512 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.562e-06/0.3186, allocations: 0 / 0.9574 GB, free: 1.512 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.669e-05/0.3187, allocations: 0 / 0.9574 GB, free: 1.512 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001198/0.3199, allocations: 0.8332 MB / 0.9582 GB, free: 0.6211 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.3199, allocations: 8.031 kB / 0.9582 GB, free: 0.6133 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001202/0.32, allocations: 68.19 kB / 0.9583 GB, free: 0.5469 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003871/0.3204, allocations: 360.5 kB / 0.9586 GB, free: 160 kB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.3205, allocations: 8.375 kB / 0.9587 GB, free: 152 kB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.937e-05/0.3205, allocations: 8.125 kB / 0.9587 GB, free: 144 kB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002431/0.3207, allocations: 133.6 kB / 0.9588 GB, free: 4 kB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.3208, allocations: 0 / 0.9588 GB, free: 4 kB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.651e-05/0.3208, allocations: 4 kB / 0.9588 GB, free: 0 / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.3208, allocations: 0 / 0.9588 GB, free: 0 / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000179/0.321, allocations: 99.86 kB / 0.9589 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008054/0.3218, allocations: 0.5354 MB / 0.9594 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000182/0.322, allocations: 114.6 kB / 0.9595 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.337e-05/0.3221, allocations: 60.98 kB / 0.9596 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 4.865e-05/0.3221, allocations: 12.02 kB / 0.9596 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002571/0.3224, allocations: 133 kB / 0.9597 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=11): time 1.443e-06/0.3224, allocations: 0 / 0.9597 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of matching and sorting (n=11): time 0.0004789/0.3229, allocations: 302.5 kB / 0.96 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.257e-05/0.323, allocations: 89.09 kB / 0.9601 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009786/0.324, allocations: 0.7581 MB / 0.9608 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.405e-05/0.324, allocations: 25.7 kB / 0.9609 GB, free: 13.76 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002477/0.3243, allocations: 280.2 kB / 0.9611 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.589e-05/0.3243, allocations: 27.56 kB / 0.9612 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.778e-05/0.3244, allocations: 29.7 kB / 0.9612 GB, free: 13.42 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.3245, allocations: 310 kB / 0.9615 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.297e-05/0.3246, allocations: 51.91 kB / 0.9615 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.603e-05/0.3247, allocations: 43.98 kB / 0.9616 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001825/0.3249, allocations: 160.2 kB / 0.9617 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.3249, allocations: 3.938 kB / 0.9617 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003378/0.3252, allocations: 254.6 kB / 0.962 GB, free: 12.58 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.565e-05/0.3253, allocations: 41.69 kB / 0.962 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3253, allocations: 0 / 0.962 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.3253, allocations: 0 / 0.962 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.034e-05/0.3254, allocations: 11.94 kB / 0.962 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.3254, allocations: 0 / 0.962 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001307/0.3256, allocations: 11.88 kB / 0.962 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.001e-05/0.3256, allocations: 8 kB / 0.962 GB, free: 12.5 MB / 0.7481 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.0003552/0.326, allocations: 344.5 kB / 0.9624 GB, free: 12.15 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.879e-05/0.326, allocations: 59.25 kB / 0.9624 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004368/0.3265, allocations: 297 kB / 0.9627 GB, free: 11.78 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.3265, allocations: 4 kB / 0.9627 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.3265, allocations: 0 / 0.9627 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.3265, allocations: 3.938 kB / 0.9627 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000383/0.3269, allocations: 369.4 kB / 0.9631 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.3269, allocations: 4 kB / 0.9631 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.099e-05/0.327, allocations: 4 kB / 0.9631 GB, free: 11.35 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/0.327, allocations: 4 kB / 0.9631 GB, free: 11.35 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.327, allocations: 4.109 kB / 0.9631 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.327, allocations: 4 kB / 0.9631 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.327, allocations: 4 kB / 0.9631 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004047/0.3274, allocations: 309.8 kB / 0.9634 GB, free: 11.01 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001392/0.3276, allocations: 144.3 kB / 0.9635 GB, free: 10.85 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.356e-05/0.3277, allocations: 4 kB / 0.9635 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.3278, allocations: 7.984 kB / 0.9635 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.232e-05/0.3278, allocations: 4 kB / 0.9635 GB, free: 10.83 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.693e-05/0.3279, allocations: 8 kB / 0.9635 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006774/0.3285, allocations: 0.5653 MB / 0.9641 GB, free: 10.26 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.8e-07/0.3285, allocations: 0 / 0.9641 GB, free: 10.26 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004504/0.329, allocations: 127.9 kB / 0.9642 GB, free: 10.14 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: 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.0003979/0.3294, allocations: 191.2 kB / 0.9644 GB, free: 9.941 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003182/0.3297, allocations: 207.3 kB / 0.9646 GB, free: 9.727 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3297, allocations: 0 / 0.9646 GB, free: 9.727 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001571/0.3299, allocations: 151.3 kB / 0.9647 GB, free: 9.566 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005/0.3304, allocations: 112 kB / 0.9648 GB, free: 9.461 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001671/0.3321, allocations: 1.078 MB / 0.9659 GB, free: 8.344 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006215/0.3327, allocations: 0.9659 MB / 0.9668 GB, free: 7.352 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.598e-05/0.3328, allocations: 15.44 kB / 0.9669 GB, free: 7.336 MB / 0.7481 GB Notification: Performance of SimCode: time 2.3e-07/0.3328, allocations: 0 / 0.9669 GB, free: 7.336 MB / 0.7481 GB Notification: Performance of Templates: time 0.01054/0.3434, allocations: 6.314 MB / 0.973 GB, free: 1.078 MB / 0.7481 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/jenkins1/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