Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speSig.y|masFlo.y|varSpePumSta.y.1.|varSpePumSta.y.2.",fileNamePrefix="Buildings_10_Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage") translateModel(Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speSig.y|masFlo.y|varSpePumSta.y.1.|varSpePumSta.y.2.",fileNamePrefix="Buildings_10_Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 115.5 kB / 16.42 MB, free: 6.031 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.001497/0.001497, allocations: 186.2 kB / 17.35 MB, free: 5.633 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.423/1.423, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.556/2.556, allocations: 437 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001429, allocations: 67.91 kB / 1.019 GB, free: 9.453 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8039/0.8054, allocations: 151.6 MB / 1.167 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage): time 0.004001/0.8094, allocations: 2.4 MB / 1.17 GB, free: 1.441 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002145/0.8116, allocations: 1.239 MB / 1.171 GB, free: 200 kB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002975/0.8119, allocations: 11.94 kB / 1.171 GB, free: 188 kB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0003797/0.8123, allocations: 103.2 kB / 1.171 GB, free: 84 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0004428/0.8128, allocations: 119.2 kB / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008073/0.8136, allocations: 333 kB / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0008347/0.8144, allocations: 0.718 MB / 1.172 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006576/0.8151, allocations: 474.8 kB / 1.173 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003964/0.8155, allocations: 251.2 kB / 1.173 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003305/0.8158, allocations: 282.8 kB / 1.173 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 8.861e-05/0.8159, allocations: 72 kB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000178/0.8161, allocations: 108 kB / 1.173 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001546/0.8163, allocations: 159.5 kB / 1.173 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002374/0.8165, allocations: 278.6 kB / 1.174 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0007083/0.8173, allocations: 0.767 MB / 1.174 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.8173, allocations: 0 / 1.174 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.724e-06/0.8173, allocations: 0 / 1.174 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.577e-06/0.8173, allocations: 4 kB / 1.174 GB, free: 12.55 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001327/0.8186, allocations: 0.8408 MB / 1.175 GB, free: 11.65 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.8187, allocations: 12.88 kB / 1.175 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001208/0.8188, allocations: 60.19 kB / 1.175 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004674/0.8193, allocations: 396.2 kB / 1.176 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.632e-05/0.8193, allocations: 45.36 kB / 1.176 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.383e-05/0.8194, allocations: 60.12 kB / 1.176 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009038/0.8203, allocations: 0.5176 MB / 1.176 GB, free: 10.53 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.8203, allocations: 0 / 1.176 GB, free: 10.53 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.587e-05/0.8204, allocations: 20 kB / 1.176 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.8204, allocations: 12 kB / 1.176 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008969/0.8213, allocations: 443.7 kB / 1.177 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002007/0.8233, allocations: 1.418 MB / 1.178 GB, free: 8.594 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008992/0.8243, allocations: 477 kB / 1.179 GB, free: 8.121 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003824/0.8246, allocations: 219.2 kB / 1.179 GB, free: 7.902 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.658e-05/0.8247, allocations: 8.438 kB / 1.179 GB, free: 7.895 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005363/0.8252, allocations: 290.9 kB / 1.179 GB, free: 7.602 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=58): time 2.024e-06/0.8252, allocations: 0 / 1.179 GB, free: 7.602 MB / 0.9044 GB Notification: Performance of matching and sorting (n=58): time 0.001217/0.8265, allocations: 0.6 MB / 1.18 GB, free: 6.996 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.8265, allocations: 63.97 kB / 1.18 GB, free: 6.918 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000315/0.8268, allocations: 358.5 kB / 1.18 GB, free: 6.562 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.669e-05/0.8269, allocations: 53.69 kB / 1.18 GB, free: 6.504 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.827, allocations: 217.2 kB / 1.18 GB, free: 6.289 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/0.8272, allocations: 149.9 kB / 1.18 GB, free: 6.141 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000169/0.8273, allocations: 146.3 kB / 1.181 GB, free: 5.992 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.8275, allocations: 358.7 kB / 1.181 GB, free: 5.633 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003891/0.8278, allocations: 185.2 kB / 1.181 GB, free: 5.449 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000428/0.8283, allocations: 273.9 kB / 1.181 GB, free: 5.16 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006795/0.829, allocations: 405.2 kB / 1.182 GB, free: 4.734 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.829, allocations: 4 kB / 1.182 GB, free: 4.73 MB / 0.9044 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.0009954/0.83, allocations: 0.5649 MB / 1.182 GB, free: 4.152 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.202e-05/0.83, allocations: 33.7 kB / 1.182 GB, free: 4.113 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.83, allocations: 0 / 1.182 GB, free: 4.113 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.8301, allocations: 8 kB / 1.182 GB, free: 4.105 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003148/0.8304, allocations: 75.83 kB / 1.182 GB, free: 4.031 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.579e-05/0.8304, allocations: 11.92 kB / 1.182 GB, free: 4.02 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003534/0.8308, allocations: 71.45 kB / 1.182 GB, free: 3.949 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.308e-05/0.8308, allocations: 35.92 kB / 1.183 GB, free: 3.914 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 62 ($PRE.varSpePumSta.con1.enableFire,$PRE.varSpePumSta.con2.enableFire,$PRE.varSpePumSta.con3.enableFire,$PRE.varSpePumSta.con4.enableFire,speSig.count,$PRE.speSig.count,speSig.T_start,$PRE.speSig.T_start,varSpePumSta.addInt.y,varSpePumSta.booToInt1.y,varSpePumSta.booToInt.y,varSpePumSta.stateGraphRoot.activeSteps,varSpePumSta.con4.t_start,$PRE.varSpePumSta.con4.t_start,varSpePumSta.con4.fire,varSpePumSta.con4.enableFire,varSpePumSta.con4.localCondition,varSpePumSta.con3.t_start,$PRE.varSpePumSta.con3.t_start,varSpePumSta.con3.fire,varSpePumSta.con3.enableFire,varSpePumSta.con3.localCondition,varSpePumSta.con2.t_start,$PRE.varSpePumSta.con2.t_start,varSpePumSta.con2.fire,varSpePumSta.con2.enableFire,varSpePumSta.con2.localCondition,varSpePumSta.twoOn.active,varSpePumSta.twoOn.oldActive,$PRE.varSpePumSta.twoOn.oldActive,varSpePumSta.twoOn.newActive,$PRE.varSpePumSta.twoOn.newActive,varSpePumSta.twoOn.localActive,$PRE.varSpePumSta.twoOn.localActive,varSpePumSta.off.oldActive,$PRE.varSpePumSta.off.oldActive,varSpePumSta.off.newActive,$PRE.varSpePumSta.off.newActive,varSpePumSta.off.localActive,$PRE.varSpePumSta.off.localActive,varSpePumSta.off.active,varSpePumSta.oneOn.active,varSpePumSta.oneOn.oldActive,$PRE.varSpePumSta.oneOn.oldActive,varSpePumSta.oneOn.newActive,$PRE.varSpePumSta.oneOn.newActive,varSpePumSta.oneOn.outPort[2].available,varSpePumSta.oneOn.inPort[2].occupied,varSpePumSta.oneOn.localActive,$PRE.varSpePumSta.oneOn.localActive,varSpePumSta.con1.t_start,$PRE.varSpePumSta.con1.t_start,varSpePumSta.con1.fire,varSpePumSta.con1.enableFire,varSpePumSta.con1.localCondition,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,varSpePumSta.stateGraphRoot.resume,varSpePumSta.stateGraphRoot.suspend) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 79 * 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.0002431/0.8311, allocations: 237.7 kB / 1.183 GB, free: 3.672 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.979e-05/0.8311, allocations: 43.52 kB / 1.183 GB, free: 3.629 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009944/0.8321, allocations: 0.5109 MB / 1.183 GB, free: 3.113 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.8322, allocations: 3.984 kB / 1.183 GB, free: 3.109 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.8322, allocations: 4 kB / 1.183 GB, free: 3.105 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.937e-05/0.8322, allocations: 120.5 kB / 1.183 GB, free: 2.969 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.244e-05/0.8323, allocations: 19.92 kB / 1.183 GB, free: 2.949 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002996/0.8326, allocations: 39.95 kB / 1.183 GB, free: 2.91 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001732/0.8328, allocations: 80.45 kB / 1.184 GB, free: 2.832 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001139/0.834, allocations: 0.6002 MB / 1.184 GB, free: 2.223 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009017/0.8349, allocations: 0.6624 MB / 1.185 GB, free: 1.543 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004202/0.8353, allocations: 252.4 kB / 1.185 GB, free: 1.293 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001885/0.8355, allocations: 222 kB / 1.185 GB, free: 1.078 MB / 0.9044 GB Notification: Performance of Backend: time 4.91e-07/0.8355, allocations: 0 / 1.185 GB, free: 1.078 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001853/0.8374, allocations: 0.7703 MB / 1.186 GB, free: 460 kB / 0.9044 GB Notification: Performance of SimCode: time 0.00128/0.8386, allocations: 1.156 MB / 1.187 GB, free: 15.24 MB / 0.92 GB Notification: Performance of Templates: time 0.01241/0.8511, allocations: 6.855 MB / 1.194 GB, free: 8.438 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage.makefile (rm -f Buildings_10_Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage.pipe ; mkfifo Buildings_10_Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage.pipe ; head -c 1048576 < Buildings_10_Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage.pipe >> ../files/Buildings_10_Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage.sim & ./Buildings_10_Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Applications_BaseClasses_Controls_Validation_VariableSpeedPumpStage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches