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.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.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.001499/0.001499, allocations: 103.3 kB / 16.27 MB, free: 6.344 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.001494/0.001494, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.379/1.379, 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.271/2.271, allocations: 390.3 MB / 0.6653 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 65.25 kB / 0.8132 GB, free: 33.02 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.3064, allocations: 140.4 MB / 0.9503 GB, free: 8.867 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect): time 0.004518/0.311, allocations: 2.099 MB / 0.9523 GB, free: 6.746 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00376/0.3148, allocations: 2.569 MB / 0.9548 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002247/0.3151, allocations: 0 / 0.9548 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001577/0.3167, allocations: 0.5098 MB / 0.9553 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003817/0.3171, allocations: 111.4 kB / 0.9554 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007728/0.3179, allocations: 239.3 kB / 0.9557 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0005253/0.3185, allocations: 350.4 kB / 0.956 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000163/0.3186, allocations: 68.7 kB / 0.9561 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002123/0.3188, allocations: 119.4 kB / 0.9562 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002493/0.3191, allocations: 139.2 kB / 0.9563 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.858e-05/0.3192, allocations: 8 kB / 0.9563 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002286/0.3194, allocations: 59.98 kB / 0.9564 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001799/0.3196, allocations: 131.4 kB / 0.9565 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002472/0.3198, allocations: 214.5 kB / 0.9567 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0007647/0.3206, allocations: 0.6656 MB / 0.9574 GB, free: 1.582 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.3206, allocations: 0 / 0.9574 GB, free: 1.582 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3206, allocations: 0 / 0.9574 GB, free: 1.582 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.763e-05/0.3207, allocations: 4 kB / 0.9574 GB, free: 1.578 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.001413/0.3221, allocations: 0.8642 MB / 0.9582 GB, free: 0.6562 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/0.3221, allocations: 12.03 kB / 0.9582 GB, free: 0.6445 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000139/0.3223, allocations: 64.09 kB / 0.9583 GB, free: 0.582 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005613/0.3229, allocations: 440 kB / 0.9587 GB, free: 116 kB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.3229, allocations: 7.938 kB / 0.9587 GB, free: 108 kB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.563e-05/0.3229, allocations: 4 kB / 0.9587 GB, free: 104 kB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002498/0.3232, allocations: 100.2 kB / 0.9588 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.3232, allocations: 7.938 kB / 0.9588 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.829e-05/0.3232, allocations: 4 kB / 0.9588 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.3232, allocations: 3.938 kB / 0.9588 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001542/0.3234, allocations: 43.97 kB / 0.9589 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008351/0.3242, allocations: 0.5084 MB / 0.9594 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004093/0.3246, allocations: 110.7 kB / 0.9595 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.022e-05/0.3247, allocations: 32.84 kB / 0.9595 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.551e-05/0.3248, allocations: 0 / 0.9595 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001822/0.325, allocations: 87.28 kB / 0.9596 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.325, allocations: 4 kB / 0.9596 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of matching and sorting (n=7): time 0.0004421/0.3254, allocations: 192.8 kB / 0.9598 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.832e-05/0.3255, allocations: 106.8 kB / 0.9599 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001099/0.3266, allocations: 0.8834 MB / 0.9607 GB, free: 13.9 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.275e-05/0.3267, allocations: 33.7 kB / 0.9608 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002729/0.3269, allocations: 300 kB / 0.9611 GB, free: 13.56 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.17e-05/0.327, allocations: 23.73 kB / 0.9611 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.606e-05/0.327, allocations: 25.7 kB / 0.9611 GB, free: 13.51 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.3272, allocations: 310 kB / 0.9614 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.782e-05/0.3273, allocations: 27.98 kB / 0.9614 GB, free: 13.17 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001189/0.3274, allocations: 72.27 kB / 0.9615 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001473/0.3275, allocations: 73.64 kB / 0.9616 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3275, allocations: 0 / 0.9616 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00031/0.3279, allocations: 172.8 kB / 0.9617 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.3279, allocations: 7.938 kB / 0.9617 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.3279, allocations: 0 / 0.9617 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.3279, allocations: 4 kB / 0.9617 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.192e-05/0.328, allocations: 11.98 kB / 0.9617 GB, free: 12.81 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.328, allocations: 7.938 kB / 0.9618 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001292/0.3282, allocations: 4 kB / 0.9618 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.3282, allocations: 0 / 0.9618 GB, free: 12.8 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.0003331/0.3285, allocations: 322.5 kB / 0.9621 GB, free: 12.47 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.656e-05/0.3286, allocations: 63.16 kB / 0.9621 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001122/0.3287, allocations: 74 kB / 0.9622 GB, free: 12.33 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.3287, allocations: 0 / 0.9622 GB, free: 12.33 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/0.3287, allocations: 3.938 kB / 0.9622 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.3288, allocations: 3.938 kB / 0.9622 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003984/0.3292, allocations: 381.4 kB / 0.9626 GB, free: 11.9 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.3292, allocations: 192 / 0.9626 GB, free: 11.9 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.94e-05/0.3292, allocations: 8 kB / 0.9626 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-06/0.3292, allocations: 7.938 kB / 0.9626 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.3293, allocations: 11.98 kB / 0.9626 GB, free: 11.87 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.3293, allocations: 4 kB / 0.9626 GB, free: 11.87 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.3293, allocations: 4.328 kB / 0.9626 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003048/0.3296, allocations: 192.2 kB / 0.9628 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001334/0.3297, allocations: 136.3 kB / 0.9629 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.597e-05/0.3298, allocations: 0 / 0.9629 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.3299, allocations: 7.984 kB / 0.9629 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.673e-05/0.33, allocations: 11.94 kB / 0.9629 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.206e-05/0.33, allocations: 11.98 kB / 0.9629 GB, free: 11.47 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0008058/0.3308, allocations: 0.659 MB / 0.9636 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.7e-07/0.3308, allocations: 0 / 0.9636 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003045/0.3311, allocations: 55.98 kB / 0.9636 GB, free: 10.76 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.001101/0.3322, allocations: 424.2 kB / 0.964 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002497/0.3325, allocations: 75.89 kB / 0.9641 GB, free: 10.43 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3325, allocations: 8.062 kB / 0.9641 GB, free: 10.42 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 9.212e-05/0.3326, allocations: 31.98 kB / 0.9642 GB, free: 10.39 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006212/0.3333, allocations: 143 kB / 0.9643 GB, free: 10.26 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001891/0.3352, allocations: 1.168 MB / 0.9654 GB, free: 9.051 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006643/0.3358, allocations: 0.9741 MB / 0.9664 GB, free: 8.051 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.118e-05/0.3359, allocations: 31.42 kB / 0.9664 GB, free: 8.02 MB / 0.7481 GB Notification: Performance of SimCode: time 3.51e-07/0.3359, allocations: 0 / 0.9664 GB, free: 8.02 MB / 0.7481 GB Notification: Performance of Templates: time 0.01156/0.3475, allocations: 6.68 MB / 0.9729 GB, free: 1.406 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 -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