Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.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.0003115/0.0003115, 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.0002442/0.0002442, 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.1621/0.1621, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 0.352/0.352, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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: simulate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,startTime=0,stopTime=900,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|assWatMas.mWat_flow|per.mWatMin_flow|runSig.y|assWatMas.assMes.u",fileNamePrefix="Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") simulate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,startTime=0,stopTime=900,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|assWatMas.mWat_flow|per.mWatMin_flow|runSig.y|assWatMas.assMes.u",fileNamePrefix="Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") [Timeout 540] "Notification: Performance of FrontEnd - loaded program: time 6.91e-07/6.91e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.615e-05/1.684e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.00242/0.002437, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.002235/0.004672, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 7.729e-05/0.00475, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0005046/0.005254, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0003407/0.005595, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.000257/0.005852, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.000197/0.006049, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 7.116e-05/0.00612, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.001034/0.007154, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/0.007264, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 2.255e-05/0.007286, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 9.608e-05/0.007382, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 7.815e-05/0.00746, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 5.896e-05/0.007519, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.0002918/0.007811, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 2.363e-05/0.007835, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 6.51e-07/0.007836, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.083e-05/0.007846, 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0006894/0.008536, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/0.008589, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 6.854e-05/0.008657, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002617/0.008919, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.423e-05/0.008953, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 2.812e-05/0.008981, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.009141, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 5.019e-06/0.009146, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.403e-05/0.00917, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.814e-06/0.009172, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 5.606e-05/0.009228, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003621/0.00959, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.009695, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 2.306e-05/0.009718, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 1.023e-05/0.009729, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.506e-05/0.009824, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=13): time 2.034e-06/0.009826, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=13): time 0.0001309/0.009957, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 1.806e-05/0.009975, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003024/0.01028, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 4.575e-05/0.01032, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 5.542e-05/0.01038, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 2.148e-05/0.0104, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 4.976e-05/0.01045, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 2.791e-05/0.01048, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 2.971e-05/0.01051, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 4.025e-05/0.01055, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 6.009e-05/0.01061, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.01061, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001109/0.01072, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 8.055e-06/0.01073, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.495e-06/0.01073, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.01074, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.491e-05/0.01081, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.01082, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.114e-05/0.01089, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/0.0109, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.mWat_flow.tab.nextTimeEvent,$whenCondition1,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,runSig.y,mWat_flow.tab.nextTimeEventScaled,$PRE.mWat_flow.tab.nextTimeEventScaled,mWat_flow.tab.nextTimeEvent,assWatMas.hys.y,$PRE.assWatMas.hys.y,assWatMas.assMes.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 7.752e-05/0.01098, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 2.567e-05/0.01101, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001569/0.01116, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.01117, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.01117, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.01117, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001469/0.01132, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.01132, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.411e-05/0.01135, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.01135, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.985e-05/0.01137, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.01137, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.01137, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 9.573e-05/0.01147, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 4.492e-05/0.01151, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.253e-05/0.0116, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.788e-05/0.01166, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 4.317e-05/0.0117, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.586e-05/0.01172, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0001671/0.01189, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 1.115e-05/0.0119, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.000181/0.01208, 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: 9 ($whenCondition2,$whenCondition1,assWatMas.assMes.u,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,runSig.y,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 5 (assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,runSig.combiTimeTable.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0005013/0.01258, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.000131/0.01271, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.01271, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 3.805e-05/0.01275, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002618/0.01301, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005995/0.01361, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 6.966e-05/0.01368, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 7.405e-05/0.01376, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/0.01387, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 1.271e-05/0.01388, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.0031/0.01698, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 540] diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow.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.2469285372644663]