Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.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 Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0004054/0.0004054, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.00068/0.001085, 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.0003278/0.0003278, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0005548/0.0008826, 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.2394/0.2394, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.04076/0.2801, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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.4169/0.4169, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.1071/0.524, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 179] Using package Buildings with version 15.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.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay,startTime=0,stopTime=900,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|transition1.condition|transition2.condition|transition3.condition|per.timeDelayStart|actMod",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") simulate(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay,startTime=0,stopTime=900,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|transition1.condition|transition2.condition|transition3.condition|per.timeDelayStart|actMod",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") [Timeout 540] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.237e-05/2.378e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay): time 0.002904/0.002928, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.002172/0.0051, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0001255/0.005225, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0005609/0.005786, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0003861/0.006172, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0005321/0.006705, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.0005589/0.007263, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0003586/0.007622, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.0003697/0.007992, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.000234/0.008226, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 4.543e-05/0.008271, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 9.397e-05/0.008365, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0001107/0.008476, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0001118/0.008588, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.0004558/0.009044, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 5.106e-05/0.009095, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 1.593e-06/0.009096, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.406e-05/0.00911, 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.0009205/0.01003, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 6.42e-05/0.01009, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002424/0.01034, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003401/0.01068, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001046/0.01078, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 4.706e-05/0.01083, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004191/0.01125, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.01126, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.748e-05/0.0113, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.01131, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001611/0.01147, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001276/0.01275, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0002228/0.01297, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 7.14e-05/0.01304, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 2.006e-05/0.01306, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002382/0.0133, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=43): time 3.266e-06/0.0133, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=43): time 0.0002957/0.0136, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/0.01364, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002851/0.01392, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 5.793e-05/0.01398, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.01408, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 5.454e-05/0.01414, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.01424, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 3.906e-05/0.01428, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 7.365e-05/0.01436, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001091/0.01447, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0002125/0.01468, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.01468, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=81) (initialization): time 0.000344/0.01503, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.01504, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.01505, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 2.303e-05/0.01507, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001784/0.01525, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.01526, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001298/0.01539, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.481e-05/0.01542, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 63 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,$PRE.transition5.enableFire,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,transition1.t_start,$PRE.transition1.t_start,transition2.t_start,$PRE.transition2.t_start,transition3.t_start,$PRE.transition3.t_start,transition4.t_start,$PRE.transition4.t_start,transition5.t_start,$PRE.transition5.t_start,transition5.enableFire,warUpCtr.timer.entryTime,$PRE.warUpCtr.timer.entryTime,warUpCtr.timer.passed,$PRE.warUpCtr.timer.passed,nor.oldActive,$PRE.nor.oldActive,nor.newActive,$PRE.nor.newActive,nor.localActive,$PRE.nor.localActive,nor.active,transition4.enableFire,stateGraphRoot.activeSteps,off.oldActive,$PRE.off.oldActive,off.newActive,$PRE.off.newActive,off.outPort[2].available,off.localActive,$PRE.off.localActive,off.active,warUp.active,warUp.oldActive,$PRE.warUp.oldActive,warUp.newActive,$PRE.warUp.newActive,warUp.outPort[2].available,warUp.inPort[2].occupied,warUp.localActive,$PRE.warUp.localActive,transition3.outPort.occupied,transition3.enableFire,transition2.enableFire,transition1.enableFire,transition1.localCondition,actMod,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,$whenCondition4,$whenCondition3,$whenCondition2,stateGraphRoot.suspend,stateGraphRoot.resume,transition5.condition) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 81 * 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.0001508/0.01557, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 5.47e-05/0.01562, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002768/0.0159, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.01591, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/0.01592, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.01592, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005743/0.0165, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.0165, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.569e-05/0.01657, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.01657, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.099e-05/0.01659, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.0166, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/0.0166, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002366/0.01684, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 5.07e-05/0.01689, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001238/0.01701, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.01712, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 9.118e-05/0.01721, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.21e-05/0.01723, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0001531/0.01739, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 9.759e-06/0.0174, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.0003137/0.01771, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 36 (transition5.t_start,transition4.t_start,transition3.t_start,transition2.t_start,transition1.t_start,nor.active,off.active,warUp.localActive,warUp.active,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition1,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.localCondition,transition1.enableFire,transition2.enableFire,transition3.enableFire,transition3.outPort.occupied,warUp.inPort[2].occupied,warUp.outPort[2].available,warUp.newActive,warUp.oldActive,off.localActive,off.outPort[2].available,off.newActive,off.oldActive,stateGraphRoot.activeSteps,transition4.enableFire,nor.localActive,nor.newActive,nor.oldActive,warUpCtr.timer.passed,warUpCtr.timer.entryTime) * Number of discrete states: 11 (runSig.combiTimeTable.nextTimeEvent,warUp.newActive,warUpCtr.timer.entryTime,off.newActive,nor.newActive,runSig.combiTimeTable.nextTimeEventScaled,transition1.t_start,transition2.t_start,transition3.t_start,transition4.t_start,transition5.t_start) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.0006272/0.01834, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0003059/0.01864, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 1.004e-05/0.01865, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0001124/0.01876, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005157/0.01928, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009644/0.02024, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001015/0.02035, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0001351/0.02048, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000168/0.02065, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 1.877e-05/0.02067, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.003621/0.02429, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 540] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTimeDelay.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 1.3341017570346594]