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.004396/0.004396, 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.0002295/0.0002295, 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.000226/0.000226, 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.1553/0.1553, 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.08172/0.08172, 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 5.61e-07/5.61e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.241e-05/1.297e-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.02377/0.02378, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.02459/0.04837, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.000993/0.04936, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.00204/0.0514, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.001699/0.0531, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.005846/0.05894, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.002589/0.06153, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.002321/0.06385, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.5449/0.6088, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.002687/0.6115, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0005514/0.612, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.005203/0.6172, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.001775/0.619, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.001393/0.6204, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.01079/0.6312, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0009558/0.6321, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 1.693e-06/0.6321, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 2.92e-05/0.6322, 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.008005/0.6402, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0002112/0.6404, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006317/0.641, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.004023/0.645, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001171/0.6452, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003619/0.6455, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.004863/0.6504, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 0.0001143/0.6505, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002702/0.6508, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001315/0.6509, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004337/0.6552, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01518/0.6704, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.00249/0.6729, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0006968/0.6736, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 0.0002826/0.6739, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002302/0.6762, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=203): time 1.312e-05/0.6762, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=203): time 0.006089/0.6823, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002572/0.6825, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004797/0.6873, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0005718/0.6879, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0007726/0.6887, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.000459/0.6891, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.001319/0.6905, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 1.679e-05/0.6905, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007363/0.6912, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.001366/0.6926, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.002523/0.6951, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.746e-05/0.6951, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=352) (initialization): time 0.003158/0.6983, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 2.726e-05/0.6983, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.978e-05/0.6983, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.001447/0.6998, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00189/0.7017, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008425/0.7025, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001787/0.7043, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003835/0.7047, 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.001974/0.7066, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001568/0.7082, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002483/0.7107, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.978e-05/0.7107, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=352) (initialization_lambda0): time 0.003078/0.7138, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/0.7138, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.956e-05/0.7138, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.001369/0.7152, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001601/0.7168, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006604/0.7175, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001703/0.7192, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003057/0.7195, 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.001066/0.7205, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005541/0.7211, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003237/0.7243, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.799e-05/0.7244, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 4.84e-06/0.7244, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/0.7244, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005669/0.7301, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.898e-06/0.7301, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001092/0.7312, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 0.001515/0.7327, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001399/0.7328, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000525/0.7333, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.7333, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002743/0.7361, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.001359/0.7374, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001225/0.7387, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001007/0.7397, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005382/0.7402, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001814/0.7404, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.002379/0.7428, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 0.0002535/0.743, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.003659/0.7467, 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.006638/0.7533, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.003631/0.757, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 9.578e-06/0.757, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0008458/0.7578, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002952/0.7608, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006726/0.7675, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001064/0.7685, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.001966/0.7705, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003709/0.7742, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.0001451/0.7744, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.01995/0.7943, 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.209062460809946]