Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001459/0.001459, allocations: 107.8 kB / 19.71 MB, free: 2.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001781/0.001781, allocations: 214.4 kB / 23 MB, free: 4.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.465/1.465, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.317/3.317, allocations: 0.49 GB / 0.7959 GB, free: 35.56 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|speSig.y|masFlo.y|varSpePumSta.y.1.|varSpePumSta.y.2.",fileNamePrefix="Buildings_12_Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage") translateModel(Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|speSig.y|masFlo.y|varSpePumSta.y.1.|varSpePumSta.y.2.",fileNamePrefix="Buildings_12_Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00206/0.00206, allocations: 75.95 kB / 1.155 GB, free: 25.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3923/0.3944, allocations: 176.1 MB / 1.327 GB, free: 1.02 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage): time 0.004184/0.3986, allocations: 2.336 MB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002579/0.4012, allocations: 1.407 MB / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002077/0.4014, allocations: 11.94 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0003447/0.4017, allocations: 107.2 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004452/0.4022, allocations: 171 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007647/0.4029, allocations: 349.4 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0008147/0.4037, allocations: 0.7529 MB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005212/0.4043, allocations: 384.3 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003843/0.4047, allocations: 275.1 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003386/0.405, allocations: 286.8 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001004/0.4051, allocations: 72 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001914/0.4053, allocations: 108 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001684/0.4055, allocations: 159.5 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002147/0.4057, allocations: 218.9 kB / 1.334 GB, free: 10.4 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008699/0.4065, allocations: 0.7978 MB / 1.334 GB, free: 9.598 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.4065, allocations: 0 / 1.334 GB, free: 9.598 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.423e-06/0.4065, allocations: 0 / 1.334 GB, free: 9.598 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.907e-06/0.4065, allocations: 4 kB / 1.334 GB, free: 9.594 MB / 1.029 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.001478/0.408, allocations: 0.7952 MB / 1.335 GB, free: 8.762 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.4081, allocations: 8.031 kB / 1.335 GB, free: 8.754 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004945/0.4086, allocations: 88.52 kB / 1.335 GB, free: 8.668 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005716/0.4091, allocations: 351.2 kB / 1.335 GB, free: 8.301 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.862e-05/0.4092, allocations: 45.38 kB / 1.336 GB, free: 8.258 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.756e-05/0.4093, allocations: 56.12 kB / 1.336 GB, free: 8.203 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/0.4103, allocations: 0.5176 MB / 1.336 GB, free: 7.672 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.4103, allocations: 0 / 1.336 GB, free: 7.672 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.049e-05/0.4104, allocations: 20 kB / 1.336 GB, free: 7.652 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/0.4104, allocations: 12 kB / 1.336 GB, free: 7.641 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009259/0.4113, allocations: 439.7 kB / 1.337 GB, free: 7.215 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002079/0.4134, allocations: 1.162 MB / 1.338 GB, free: 6.012 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009522/0.4143, allocations: 429.1 kB / 1.338 GB, free: 5.586 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003997/0.4147, allocations: 195 kB / 1.338 GB, free: 5.391 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.347e-05/0.4148, allocations: 4.438 kB / 1.338 GB, free: 5.387 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005775/0.4154, allocations: 286.1 kB / 1.339 GB, free: 5.098 MB / 1.029 GB Notification: Performance of pre-optimization done (n=58): time 3.216e-06/0.4154, allocations: 7.875 kB / 1.339 GB, free: 5.09 MB / 1.029 GB Notification: Performance of matching and sorting (n=58): time 0.001369/0.4167, allocations: 0.5983 MB / 1.339 GB, free: 4.484 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.862e-05/0.4168, allocations: 67.89 kB / 1.339 GB, free: 4.406 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004044/0.4172, allocations: 364 kB / 1.34 GB, free: 4.047 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.836e-05/0.4172, allocations: 53.69 kB / 1.34 GB, free: 3.988 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001808/0.4174, allocations: 225.5 kB / 1.34 GB, free: 3.762 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001378/0.4176, allocations: 150.8 kB / 1.34 GB, free: 3.613 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002092/0.4178, allocations: 146.2 kB / 1.34 GB, free: 3.461 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001714/0.4179, allocations: 350.7 kB / 1.34 GB, free: 3.109 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004346/0.4184, allocations: 214.9 kB / 1.341 GB, free: 2.895 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004967/0.4189, allocations: 303.7 kB / 1.341 GB, free: 2.566 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007422/0.4196, allocations: 408.9 kB / 1.341 GB, free: 2.137 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.4196, allocations: 0 / 1.341 GB, free: 2.137 MB / 1.029 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001116/0.4207, allocations: 0.5939 MB / 1.342 GB, free: 1.523 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.618e-05/0.4208, allocations: 37.7 kB / 1.342 GB, free: 1.48 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.4208, allocations: 0 / 1.342 GB, free: 1.48 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.4208, allocations: 4.219 kB / 1.342 GB, free: 1.477 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003329/0.4211, allocations: 75.83 kB / 1.342 GB, free: 1.402 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.4212, allocations: 4 kB / 1.342 GB, free: 1.398 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003562/0.4215, allocations: 79.61 kB / 1.342 GB, free: 1.32 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.205e-05/0.4216, allocations: 27.98 kB / 1.342 GB, free: 1.293 MB / 1.029 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.0003015/0.4219, allocations: 241.6 kB / 1.342 GB, free: 1.047 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.136e-05/0.4219, allocations: 43.72 kB / 1.342 GB, free: 1.004 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001025/0.423, allocations: 485.6 kB / 1.343 GB, free: 0.5234 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.397e-06/0.423, allocations: 3.984 kB / 1.343 GB, free: 0.5195 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.423, allocations: 0 / 1.343 GB, free: 0.5195 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.417e-05/0.423, allocations: 47.62 kB / 1.343 GB, free: 484 kB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.904e-05/0.4231, allocations: 11.94 kB / 1.343 GB, free: 472 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002882/0.4234, allocations: 51.94 kB / 1.343 GB, free: 420 kB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001991/0.4236, allocations: 88.36 kB / 1.343 GB, free: 332 kB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001204/0.4248, allocations: 0.5558 MB / 1.344 GB, free: 15.76 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009668/0.4258, allocations: 0.6219 MB / 1.344 GB, free: 15.12 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004527/0.4262, allocations: 219.9 kB / 1.344 GB, free: 14.9 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002617/0.4265, allocations: 235 kB / 1.345 GB, free: 14.68 MB / 1.045 GB Notification: Performance of Backend: time 4.01e-07/0.4265, allocations: 0 / 1.345 GB, free: 14.68 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002986/0.4295, allocations: 0.7992 MB / 1.345 GB, free: 14.04 MB / 1.045 GB Notification: Performance of SimCode: time 0.001772/0.4312, allocations: 1.159 MB / 1.347 GB, free: 12.83 MB / 1.045 GB Notification: Performance of Templates: time 0.01445/0.4457, allocations: 7.586 MB / 1.354 GB, free: 5.332 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage.pipe ; mkfifo Buildings_12_Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage.pipe ; head -c 1048576 < Buildings_12_Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage.pipe >> ../files/Buildings_12_Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage.sim & ./Buildings_12_Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Applications_BaseClasses_Controls_Validation_VariableSpeedPumpStage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.32754339100211]