Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001326/0.001326, allocations: 112.4 kB / 16.42 MB, free: 6.469 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.001274/0.001274, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.308/1.308, allocations: 222.9 MB / 241.1 MB, free: 15.07 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.175/2.175, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 59.91 kB / 0.9515 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6817/0.6829, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage): time 0.003164/0.6861, allocations: 2.376 MB / 1.091 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001687/0.6878, allocations: 1.226 MB / 1.092 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001564/0.688, allocations: 10.53 kB / 1.092 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002898/0.6883, allocations: 103.2 kB / 1.092 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002815/0.6886, allocations: 120.2 kB / 1.092 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005826/0.6892, allocations: 334.4 kB / 1.093 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006795/0.6899, allocations: 0.7232 MB / 1.093 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005205/0.6904, allocations: 461.5 kB / 1.094 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002667/0.6907, allocations: 256 kB / 1.094 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002926/0.691, allocations: 274.5 kB / 1.094 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001053/0.6911, allocations: 73.16 kB / 1.094 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001812/0.6913, allocations: 105.3 kB / 1.094 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.00014/0.6914, allocations: 155.7 kB / 1.095 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000202/0.6916, allocations: 272.3 kB / 1.095 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007348/0.6924, allocations: 0.7643 MB / 1.096 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.6924, allocations: 0.6562 kB / 1.096 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.152e-06/0.6924, allocations: 0 / 1.096 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.697e-06/0.6924, allocations: 0.5312 kB / 1.096 GB, free: 1.211 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.001319/0.6937, allocations: 0.8374 MB / 1.096 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.6938, allocations: 9.438 kB / 1.096 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001203/0.6939, allocations: 58 kB / 1.097 GB, free: 0.5312 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004369/0.6943, allocations: 389.7 kB / 1.097 GB, free: 220 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.564e-05/0.6944, allocations: 45.3 kB / 1.097 GB, free: 196 kB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.468e-05/0.6945, allocations: 52.72 kB / 1.097 GB, free: 180 kB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/0.6955, allocations: 0.5158 MB / 1.097 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.6955, allocations: 0 / 1.097 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.307e-05/0.6956, allocations: 17.73 kB / 1.097 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.585e-05/0.6956, allocations: 11 kB / 1.098 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009775/0.6966, allocations: 439.6 kB / 1.098 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002216/0.6988, allocations: 1.41 MB / 1.099 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009837/0.6998, allocations: 468.3 kB / 1.1 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004287/0.7003, allocations: 219.4 kB / 1.1 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.46e-05/0.7003, allocations: 10.59 kB / 1.1 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005764/0.7009, allocations: 284.2 kB / 1.1 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=58): time 2.174e-06/0.7009, allocations: 0 / 1.1 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of matching and sorting (n=58): time 0.001361/0.7023, allocations: 0.6023 MB / 1.101 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/0.7023, allocations: 65.67 kB / 1.101 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003698/0.7027, allocations: 347.9 kB / 1.101 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.852e-05/0.7028, allocations: 52.19 kB / 1.101 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001484/0.7029, allocations: 209.1 kB / 1.101 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001258/0.7031, allocations: 143.1 kB / 1.102 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001999/0.7033, allocations: 144.5 kB / 1.102 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.7034, allocations: 355.1 kB / 1.102 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004353/0.7039, allocations: 190.8 kB / 1.102 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005153/0.7044, allocations: 267.3 kB / 1.103 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008422/0.7052, allocations: 409 kB / 1.103 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.7053, allocations: 8.5 kB / 1.103 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001087/0.7063, allocations: 0.5634 MB / 1.103 GB, free: 12.63 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.406e-05/0.7064, allocations: 33.94 kB / 1.104 GB, free: 12.6 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.7064, allocations: 2.656 kB / 1.104 GB, free: 12.6 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.7064, allocations: 4.609 kB / 1.104 GB, free: 12.6 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003253/0.7068, allocations: 81.17 kB / 1.104 GB, free: 12.58 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.7068, allocations: 4.703 kB / 1.104 GB, free: 12.58 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003746/0.7072, allocations: 83.86 kB / 1.104 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.014e-05/0.7072, allocations: 27.12 kB / 1.104 GB, free: 12.54 MB / 0.8731 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.0002592/0.7075, allocations: 235.9 kB / 1.104 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.665e-05/0.7076, allocations: 37.5 kB / 1.104 GB, free: 12.33 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001054/0.7086, allocations: 0.5209 MB / 1.104 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.338e-06/0.7086, allocations: 3.234 kB / 1.104 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.7086, allocations: 1.188 kB / 1.104 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.41e-05/0.7087, allocations: 120.7 kB / 1.105 GB, free: 11.99 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.269e-05/0.7088, allocations: 17.91 kB / 1.105 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003177/0.7091, allocations: 45.59 kB / 1.105 GB, free: 11.97 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000178/0.7093, allocations: 77.06 kB / 1.105 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001217/0.7105, allocations: 0.5981 MB / 1.105 GB, free: 11.69 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009585/0.7115, allocations: 0.6565 MB / 1.106 GB, free: 11.32 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004426/0.7119, allocations: 249.1 kB / 1.106 GB, free: 11.22 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002082/0.7122, allocations: 225.6 kB / 1.106 GB, free: 11.1 MB / 0.8731 GB Notification: Performance of Backend: time 4.61e-07/0.7122, allocations: 0 / 1.106 GB, free: 11.1 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001834/0.714, allocations: 0.7635 MB / 1.107 GB, free: 10.76 MB / 0.8731 GB Notification: Performance of SimCode: time 0.001282/0.7153, allocations: 1.153 MB / 1.108 GB, free: 9.887 MB / 0.8731 GB Notification: Performance of Templates: time 0.01253/0.7279, allocations: 6.745 MB / 1.115 GB, free: 9.344 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage.makefile (rm -f Buildings_9_Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage.pipe ; mkfifo Buildings_9_Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage.pipe >> ../files/Buildings_9_Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage.sim & ./Buildings_9_Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Applications_BaseClasses_Controls_Validation_VariableSpeedPumpStage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches