Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo", uses=false) loadFile("/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo", uses=false) Using package ClaRa with version 1.8.0 (/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo) Using package TILMedia with version 1.8.0 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ClaRa.Components.Utilities.Blocks.Check.TestMinMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="T.k1|T.k2|T.u1|T.u2|T.y|Time|Time_bak|ramp.duration|ramp.height|ramp.offset|ramp.startTime|ramp.y|sine.amplitude|sine.f|sine.offset|sine.phase|sine.startTime|sine.y|timeExtrema.initOption|timeExtrema.samplingTime|timeExtrema.startTime|timeExtrema.u|timeExtrema.y_max|timeExtrema.y_min|timeExtrema.y_start.1.|timeExtrema.y_start.2.",fileNamePrefix="ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax") translateModel(ClaRa.Components.Utilities.Blocks.Check.TestMinMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="T.k1|T.k2|T.u1|T.u2|T.y|Time|Time_bak|ramp.duration|ramp.height|ramp.offset|ramp.startTime|ramp.y|sine.amplitude|sine.f|sine.offset|sine.phase|sine.startTime|sine.y|timeExtrema.initOption|timeExtrema.samplingTime|timeExtrema.startTime|timeExtrema.u|timeExtrema.y_max|timeExtrema.y_min|timeExtrema.y_start.1.|timeExtrema.y_start.2.",fileNamePrefix="ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.571/1.571, allocations: 221.5 MB / 229.6 MB, free: 7.582 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008934/0.0008934, allocations: 97.58 kB / 280.5 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.09446/0.09446, allocations: 20.17 MB / 351.4 MB, free: 11.03 MB / 250.7 MB [/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/Components/Sensors/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: TinySensorGas_L1_O2dry [/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/Basics/ControlVolumes/Fundamentals/PressureLoss/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: ShellType_L3 TubeType_L2 TubeType_L3 ShellType_L2 [/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/Basics/ControlVolumes/Fundamentals/HeatTransport/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: ShellType_L3 TubeType_L2 TubeType_L3 ShellType_L2 [/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/Basics/ControlVolumes/FluidVolumes/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: VolumeVLE_2 VolumeVLE_3_TwoZones Notification: Performance of loadFile(/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo): time 0.8068/0.8068, allocations: 127.6 MB / 0.5233 GB, free: 1.043 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.134e-05/3.185e-05, allocations: 0 / 0.611 GB, free: 7.828 MB / 378.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6978/0.6979, allocations: 82.86 MB / 0.6919 GB, free: 3.16 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2157/0.9136, allocations: 118.7 MB / 0.8079 GB, free: 10.54 MB / 0.5418 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003326/0.914, allocations: 99.78 kB / 0.808 GB, free: 10.44 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 0.005944/0.92, allocations: 1.522 MB / 0.8094 GB, free: 8.914 MB / 0.5418 GB Notification: Performance of FrontEnd: time 2.074e-06/0.92, allocations: 0 / 0.8094 GB, free: 8.914 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 1.299e-05/0.92, allocations: 0 / 0.8094 GB, free: 8.914 MB / 0.5418 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006695/0.9207, allocations: 390.3 kB / 0.8098 GB, free: 8.488 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 5.773e-05/0.9208, allocations: 8.031 kB / 0.8098 GB, free: 8.48 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.527e-05/0.9209, allocations: 11.86 kB / 0.8098 GB, free: 8.469 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002583/0.9211, allocations: 191 kB / 0.81 GB, free: 8.242 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.625e-05/0.9212, allocations: 0 / 0.81 GB, free: 8.242 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.096e-05/0.9212, allocations: 4 kB / 0.81 GB, free: 8.238 MB / 0.5418 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001454/0.9214, allocations: 28 kB / 0.81 GB, free: 8.211 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.9215, allocations: 57.67 kB / 0.8101 GB, free: 8.148 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.9216, allocations: 0 / 0.8101 GB, free: 8.148 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.763e-05/0.9216, allocations: 4 kB / 0.8101 GB, free: 8.145 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.9216, allocations: 4 kB / 0.8101 GB, free: 8.141 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007753/0.9224, allocations: 329.1 kB / 0.8104 GB, free: 7.781 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005421/0.923, allocations: 106.6 kB / 0.8105 GB, free: 7.668 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.692e-05/0.923, allocations: 20.98 kB / 0.8105 GB, free: 7.645 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 2.27e-05/0.9231, allocations: 0 / 0.8105 GB, free: 7.645 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.9231, allocations: 38.59 kB / 0.8106 GB, free: 7.598 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=5): time 1.193e-06/0.9231, allocations: 0 / 0.8106 GB, free: 7.598 MB / 0.5418 GB Notification: Performance of matching and sorting (n=5): time 0.0002822/0.9234, allocations: 73.62 kB / 0.8106 GB, free: 7.52 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/0.9235, allocations: 55.41 kB / 0.8107 GB, free: 7.453 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.9236, allocations: 115.7 kB / 0.8108 GB, free: 7.332 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.9236, allocations: 29.7 kB / 0.8108 GB, free: 7.297 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 7.766e-05/0.9237, allocations: 99.98 kB / 0.8109 GB, free: 7.195 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 3.934e-05/0.9238, allocations: 18.98 kB / 0.811 GB, free: 7.18 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.207e-06/0.9238, allocations: 0 / 0.811 GB, free: 7.18 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.9239, allocations: 318.8 kB / 0.8113 GB, free: 6.859 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.897e-05/0.924, allocations: 16 kB / 0.8113 GB, free: 6.844 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.876e-05/0.9241, allocations: 27.97 kB / 0.8113 GB, free: 6.816 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.169e-05/0.9241, allocations: 12 kB / 0.8113 GB, free: 6.805 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.9242, allocations: 0 / 0.8113 GB, free: 6.805 MB / 0.5418 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001965/0.9244, allocations: 85.53 kB / 0.8114 GB, free: 6.715 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.9244, allocations: 4 kB / 0.8114 GB, free: 6.711 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.9244, allocations: 0 / 0.8114 GB, free: 6.711 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.9244, allocations: 4 kB / 0.8114 GB, free: 6.707 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002098/0.9247, allocations: 31.97 kB / 0.8114 GB, free: 6.676 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.9247, allocations: 3.953 kB / 0.8114 GB, free: 6.672 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001546/0.9248, allocations: 31.91 kB / 0.8115 GB, free: 6.641 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/0.9249, allocations: 0 / 0.8115 GB, free: 6.641 MB / 0.5418 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001067/0.925, allocations: 101 kB / 0.8116 GB, free: 6.535 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.962e-05/0.925, allocations: 7.906 kB / 0.8116 GB, free: 6.527 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.909e-05/0.9251, allocations: 12.41 kB / 0.8116 GB, free: 6.516 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.9251, allocations: 0 / 0.8116 GB, free: 6.516 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.9251, allocations: 0 / 0.8116 GB, free: 6.516 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.972e-06/0.9251, allocations: 7.953 kB / 0.8116 GB, free: 6.508 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002514/0.9254, allocations: 166.2 kB / 0.8117 GB, free: 6.309 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/0.9254, allocations: 4.062 kB / 0.8118 GB, free: 6.305 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002327/0.9256, allocations: 35.91 kB / 0.8118 GB, free: 6.27 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.023e-06/0.9257, allocations: 3.984 kB / 0.8118 GB, free: 6.266 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.926e-05/0.9257, allocations: 3.938 kB / 0.8118 GB, free: 6.262 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.9257, allocations: 0 / 0.8118 GB, free: 6.262 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.9257, allocations: 4 kB / 0.8118 GB, free: 6.258 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003722/0.9261, allocations: 199.4 kB / 0.812 GB, free: 6.047 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 5.823e-05/0.9262, allocations: 81.02 kB / 0.8121 GB, free: 5.949 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.266e-05/0.9262, allocations: 4.031 kB / 0.8121 GB, free: 5.945 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002128/0.9264, allocations: 15.98 kB / 0.8121 GB, free: 5.93 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.99e-05/0.9265, allocations: 12.05 kB / 0.8121 GB, free: 5.918 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-06/0.9265, allocations: 0 / 0.8121 GB, free: 5.918 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 9.329e-05/0.9266, allocations: 99.27 kB / 0.8122 GB, free: 5.82 MB / 0.5418 GB Notification: Performance of sort global known variables: time 2.6e-07/0.9266, allocations: 3.281 kB / 0.8122 GB, free: 5.82 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.0004166/0.9271, allocations: 12 kB / 0.8122 GB, free: 5.809 MB / 0.5418 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (timeExtrema.ymax,timeExtrema.ymin) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001776/0.9273, allocations: 95.19 kB / 0.8123 GB, free: 5.703 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.0001938/0.9275, allocations: 47.98 kB / 0.8123 GB, free: 5.656 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.9275, allocations: 0 / 0.8123 GB, free: 5.656 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 7.923e-05/0.9276, allocations: 24 kB / 0.8124 GB, free: 5.633 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002661/0.9278, allocations: 8.578 kB / 0.8124 GB, free: 5.625 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004505/0.9283, allocations: 140.4 kB / 0.8125 GB, free: 5.465 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003278/0.9287, allocations: 0.7001 MB / 0.8132 GB, free: 4.738 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 7.556e-05/0.9287, allocations: 11.98 kB / 0.8132 GB, free: 4.727 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.157e-05/0.9288, allocations: 7.438 kB / 0.8132 GB, free: 4.719 MB / 0.5418 GB Notification: Performance of SimCode: time 3.2e-07/0.9288, allocations: 4 kB / 0.8132 GB, free: 4.715 MB / 0.5418 GB Notification: Performance of Templates: time 0.003508/0.9323, allocations: 0.6124 MB / 0.8138 GB, free: 4.121 MB / 0.5418 GB make -j1 -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.makefile (rm -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.pipe ; mkfifo ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.pipe >> ../files/ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.sim & ./ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.pipe 2>&1) diffSimulationResults("ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax_res.mat","/mnt/ReferenceFiles/ExtraLibs/clara_om.git/ReferenceResults/ClaRa.Components.Utilities.Blocks.Check.TestMinMax.mat","../files/ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Error: Could not read variable Time_bak in file ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax_res.mat. Warning: Get data of variable Time_bak from file ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax_res.mat failed! " Variables in the reference:T.k1,T.k2,T.u1,T.u2,T.y,Time,Time_bak,ramp.duration,ramp.height,ramp.offset,ramp.startTime,ramp.y,sine.amplitude,sine.f,sine.offset,sine.phase,sine.startTime,sine.y,timeExtrema.initOption,timeExtrema.samplingTime,timeExtrema.startTime,timeExtrema.u,timeExtrema.y_max,timeExtrema.y_min,timeExtrema.y_start[1],timeExtrema.y_start[2] Variables in the result:T.k1,T.k2,T.u1,T.u2,T.y,ramp.duration,ramp.height,ramp.offset,ramp.startTime,ramp.y,sine.amplitude,sine.f,sine.offset,sine.phase,sine.startTime,sine.y,time,timeExtrema.initOption,timeExtrema.samplingTime,timeExtrema.startTime,timeExtrema.u,timeExtrema.y_max,timeExtrema.y_min,timeExtrema.y_start[1],timeExtrema.y_start[2],timeExtrema.ymax,timeExtrema.ymin