Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.Furnace.Check.Test_CombustionChamber_control.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/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/SMArtInt main/package.mo): time 0.002345/0.002345, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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.0001771/0.0001771, 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.0001798/0.0001798, 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.1206/0.1206, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo): time 0.2293/0.2293, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/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) Using package SMArtInt with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: simulate(ClaRa.Components.Furnace.Check.Test_CombustionChamber_control,startTime=0,stopTime=180,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="PID_Q_boiler.I.y|PID_Q_boiler.resetValueI|PID_Q_boiler.resetValueID|PID_Q_boiler.resetValueP|PID_Q_boiler.smoothPIDInput.y_aux|PID_Q_boiler.smoothPIDOutput.y_aux|PID_Q_boiler.smoothPIDOutput1.y_aux|PID_lambda.I.y|PID_lambda.resetValueI|PID_lambda.resetValueID|PID_lambda.resetValueP|PID_lambda.smoothPIDInput.y_aux|PID_lambda.smoothPIDOutput.y_aux|PID_lambda.smoothPIDOutput1.y_aux|Time",fileNamePrefix="ClaRa_ClaRa.Components.Furnace.Check.Test_CombustionChamber_control",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") simulate(ClaRa.Components.Furnace.Check.Test_CombustionChamber_control,startTime=0,stopTime=180,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="PID_Q_boiler.I.y|PID_Q_boiler.resetValueI|PID_Q_boiler.resetValueID|PID_Q_boiler.resetValueP|PID_Q_boiler.smoothPIDInput.y_aux|PID_Q_boiler.smoothPIDOutput.y_aux|PID_Q_boiler.smoothPIDOutput1.y_aux|PID_lambda.I.y|PID_lambda.resetValueI|PID_lambda.resetValueID|PID_lambda.resetValueP|PID_lambda.smoothPIDInput.y_aux|PID_lambda.smoothPIDOutput.y_aux|PID_lambda.smoothPIDOutput1.y_aux|Time",fileNamePrefix="ClaRa_ClaRa.Components.Furnace.Check.Test_CombustionChamber_control",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") [Timeout 1040] "Notification: Performance of FrontEnd - loaded program: time 7.72e-07/7.72e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.154e-05/1.231e-05, allocations: 0 / 0, free: 0 / 0 Notification: TILMedia 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: Automatically loaded package TILMedia 1.9.0 ClaRa due to usage. Notification: Performance of NFInst.instantiate(ClaRa.Components.Furnace.Check.Test_CombustionChamber_control): time 0.1053/0.1053, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.08338/0.1887, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.001612/0.1903, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.003622/0.1939, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.002795/0.1967, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.01023/0.2069, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.004871/0.2118, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.00546/0.2173, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.2089/0.4262, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.002766/0.4289, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0007371/0.4297, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.008223/0.4379, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.002522/0.4404, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.002168/0.4426, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.01149/0.4541, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0007844/0.4549, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 3.837e-06/0.4549, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.823e-05/0.4549, 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: 608 * Number of variables: 608 Notification: Performance of Generate backend data structure: time 0.01054/0.4654, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0003071/0.4657, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001009/0.4667, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.005858/0.4726, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001978/0.4728, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006/0.4734, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.005981/0.4794, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 0.0001323/0.4795, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004443/0.48, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002059/0.4802, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006042/0.4862, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0185/0.5047, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.002905/0.5076, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0008433/0.5084, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 0.0003922/0.5088, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003147/0.512, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=203): time 1.798e-05/0.512, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=203): time 0.009777/0.5218, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003987/0.5222, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006595/0.5288, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0005897/0.5294, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.001171/0.5305, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0006949/0.5312, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.002178/0.5334, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 1.776e-05/0.5334, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.001226/0.5347, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.002141/0.5368, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.004178/0.541, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.388e-05/0.541, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=352) (initialization): time 0.004809/0.5458, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 5.843e-05/0.5459, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.829e-05/0.5459, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.002512/0.5484, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005437/0.5539, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001033/0.5549, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00252/0.5574, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004804/0.5579, allocations: 0 / 0, free: 0 / 0 Warning: Assuming fixed start value for the following 4 variables: PID_lambda.I.y:VARIABLE(flow=false start = PID_lambda.I.y_start_const fixed = true ) \"Connector of Real output signal\" type: Real PID_Q_boiler.I.y:VARIABLE(flow=false start = PID_Q_boiler.I.y_start_const fixed = true ) \"Connector of Real output signal\" type: Real PID_Q_boiler.switch_OnOff.u2:DISCRETE(flow=false fixed = true ) \"Connector of Boolean input signal\" type: Boolean PID_lambda.switch_OnOff.u2:DISCRETE(flow=false fixed = true ) \"Connector of Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001989/0.5599, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002277/0.5622, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004127/0.5663, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.175e-05/0.5663, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=352) (initialization_lambda0): time 0.004313/0.5706, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 4.843e-05/0.5707, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-05/0.5707, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.001951/0.5727, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005121/0.5778, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001126/0.5789, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002516/0.5814, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000487/0.5819, allocations: 0 / 0, free: 0 / 0 Warning: Assuming fixed start value for the following 4 variables: PID_lambda.I.y:VARIABLE(flow=false start = PID_lambda.I.y_start_const fixed = true ) \"Connector of Real output signal\" type: Real PID_Q_boiler.I.y:VARIABLE(flow=false start = PID_Q_boiler.I.y_start_const fixed = true ) \"Connector of Real output signal\" type: Real PID_Q_boiler.switch_OnOff.u2:DISCRETE(flow=false fixed = true ) \"Connector of Boolean input signal\" type: Boolean PID_lambda.switch_OnOff.u2:DISCRETE(flow=false fixed = true ) \"Connector of Boolean input signal\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 95 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.PID_Q_boiler.time_lag_I_activation.entryTime,$PRE.PID_Q_boiler.switch_OnOff.u2,$PRE.PID_lambda.time_lag_I_activation.entryTime,$PRE.PID_lambda.switch_OnOff.u2,PID_Q_boiler.I_activation.y,PID_Q_boiler.time_lag_I_activation.entryTime,PID_Q_boiler.switch_OnOff.u2,PID_lambda.I_activation.y,PID_lambda.time_lag_I_activation.entryTime,PID_lambda.switch_OnOff.u2,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (312): * Single equations (assignments): 311 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(11,30)} Notification: Performance of prepare postOptimizeDAE: time 0.001204/0.5831, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007842/0.5839, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004671/0.5886, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.301e-05/0.5886, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.5886, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.928e-05/0.5886, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008442/0.5971, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.479e-05/0.5971, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005707/0.6028, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 0.001759/0.6046, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002615/0.6048, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001067/0.6059, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.326e-05/0.6059, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005202/0.6111, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.002831/0.6139, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003699/0.6176, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002557/0.6202, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008728/0.6211, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003795/0.6214, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.004945/0.6264, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 0.0003895/0.6268, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.008134/0.6349, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 14 (PID_lambda.smoothPIDInput.y_aux,PID_lambda.smoothPIDOutput1.y_aux,PID_lambda.resetValueI,PID_Q_boiler.smoothPIDInput.y_aux,PID_Q_boiler.smoothPIDOutput.y_aux,PID_Q_boiler.smoothPIDOutput1.y_aux,PID_Q_boiler.resetValueI,PID_lambda.resetValueP,PID_lambda.resetValueID,PID_lambda.I.y,PID_lambda.smoothPIDOutput.y_aux,PID_Q_boiler.resetValueP,PID_Q_boiler.resetValueID,PID_Q_boiler.I.y) * Number of discrete variables: 10 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,PID_lambda.switch_OnOff.u2,PID_lambda.time_lag_I_activation.entryTime,PID_lambda.I_activation.y,PID_Q_boiler.switch_OnOff.u2,PID_Q_boiler.time_lag_I_activation.entryTime,PID_Q_boiler.I_activation.y) * Number of discrete states: 4 (PID_lambda.switch_OnOff.u2,PID_Q_boiler.switch_OnOff.u2,PID_Q_boiler.toPU.y,PID_lambda.toPU.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (153): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,20)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004694/0.6396, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.005137/0.6447, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 0.0001138/0.6448, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.001283/0.6461, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004399/0.6505, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009863/0.6604, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001705/0.6621, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.002807/0.6649, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004424/0.6693, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.0001597/0.6695, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.01653/0.686, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 1039] diffSimulationResults("ClaRa_ClaRa.Components.Furnace.Check.Test_CombustionChamber_control_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Components.Furnace.Check.Test_CombustionChamber_control.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 800] "" [Timeout remaining time 800] Reference file matches [Calling sys.exit(0), Time elapsed: 2.1372451838105917]