Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real [:1:1-1:33:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0003535/0.0003535, allocations: 0 / 0, free: 0 / 0 " [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.0004707/0.0004707, allocations: 0 / 0, free: 0 / 0 " [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 0.4025/0.4025, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 0.9527/0.9527, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 179] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: simulate(Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage,startTime=0,stopTime=1080,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|speSig.y|masFlo.y|varSpePumSta.y.1.|varSpePumSta.y.2.",fileNamePrefix="Buildings_latest_Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage",simflags="-alarm=800 -emit_protected -lv LOG_STATS") simulate(Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage,startTime=0,stopTime=1080,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|speSig.y|masFlo.y|varSpePumSta.y.1.|varSpePumSta.y.2.",fileNamePrefix="Buildings_latest_Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage",simflags="-alarm=800 -emit_protected -lv LOG_STATS") [Timeout 1100] "Notification: Performance of FrontEnd - loaded program: time 1.052e-06/1.052e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.67e-05/2.775e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage): time 0.006361/0.006389, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.0053/0.01169, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0004068/0.0121, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0006988/0.0128, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0009729/0.01377, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.001661/0.01543, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.001473/0.0169, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.001101/0.018, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.001277/0.01928, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0007329/0.02001, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0001886/0.0202, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0004151/0.02062, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0003634/0.02098, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0005799/0.02156, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.002224/0.02378, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0001424/0.02393, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 2.786e-06/0.02393, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.455e-05/0.02394, allocations: 0 / 0, free: 0 / 0 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.003717/0.02766, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 9.291e-05/0.02775, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002032/0.02979, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.001804/0.03159, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000147/0.03174, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002633/0.032, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.003458/0.03546, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 3.456e-05/0.03549, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001894/0.03568, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-05/0.03572, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002932/0.03865, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006411/0.04506, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0025/0.04756, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.001198/0.04876, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 6.031e-05/0.04882, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001597/0.05042, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=58): time 6.767e-05/0.05048, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=58): time 0.004111/0.05459, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 9.94e-05/0.05469, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001169/0.05586, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0002938/0.05616, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0003675/0.05652, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0003328/0.05686, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007837/0.05764, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.0004054/0.05805, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.001295/0.05934, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.001441/0.06078, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.00218/0.06296, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-05/0.06298, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=81) (initialization): time 0.003783/0.06676, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 7.703e-05/0.06684, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.58e-05/0.06685, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 3.262e-05/0.06689, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006485/0.06753, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.872e-05/0.06756, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006304/0.06819, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001684/0.06836, allocations: 0 / 0, free: 0 / 0 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.001077/0.06944, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003684/0.06981, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003289/0.0731, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-05/0.07311, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/0.07312, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.507e-05/0.07314, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005831/0.07897, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.208e-06/0.07898, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005236/0.0795, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 1.619e-05/0.07952, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001562/0.07968, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.328e-05/0.07969, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.07969, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003012/0.0827, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0003156/0.08302, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002552/0.08327, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006046/0.08388, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007991/0.08468, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001262/0.0848, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0007336/0.08554, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 1.754e-05/0.08556, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.00163/0.08719, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 41 (varSpePumSta.con3.enableFire,varSpePumSta.con4.enableFire,varSpePumSta.con1.enableFire,varSpePumSta.con2.enableFire,varSpePumSta.twoOn.active,varSpePumSta.off.active,varSpePumSta.oneOn.active,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varSpePumSta.con1.localCondition,varSpePumSta.con1.fire,varSpePumSta.con1.t_start,varSpePumSta.oneOn.localActive,varSpePumSta.oneOn.inPort[2].occupied,varSpePumSta.oneOn.outPort[2].available,varSpePumSta.oneOn.newActive,varSpePumSta.oneOn.oldActive,varSpePumSta.off.localActive,varSpePumSta.off.newActive,varSpePumSta.off.oldActive,varSpePumSta.twoOn.localActive,varSpePumSta.twoOn.newActive,varSpePumSta.twoOn.oldActive,varSpePumSta.con2.localCondition,varSpePumSta.con2.fire,varSpePumSta.con2.t_start,varSpePumSta.con3.localCondition,varSpePumSta.con3.fire,varSpePumSta.con3.t_start,varSpePumSta.con4.localCondition,varSpePumSta.con4.fire,varSpePumSta.con4.t_start,varSpePumSta.stateGraphRoot.activeSteps,varSpePumSta.booToInt.y,varSpePumSta.booToInt1.y,varSpePumSta.addInt.y,speSig.T_start,speSig.count) * Number of discrete states: 4 (speSig.count,varSpePumSta.oneOn.newActive,varSpePumSta.off.newActive,varSpePumSta.twoOn.newActive) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0006469/0.08783, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.002811/0.09064, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 4.81e-06/0.09065, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.001293/0.09194, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002195/0.09414, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004079/0.09822, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007637/0.09898, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0005642/0.09955, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001003/0.1005, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.0003452/0.1009, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.002569/0.1035, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 1100] diffSimulationResults("Buildings_latest_Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Applications_BaseClasses_Controls_Validation_VariableSpeedPumpStage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 2.655977027001427]