Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestSlidingmean.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: "" <> buildModelFMU(ClaRa.Components.Utilities.Blocks.Check.TestSlidingmean,fileNamePrefix="ClaRa_dev_ClaRa_Components_Utilities_Blocks_Check_TestSlidingmean",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.Utilities.Blocks.Check.TestSlidingmean,fileNamePrefix="ClaRa_dev_ClaRa_Components_Utilities_Blocks_Check_TestSlidingmean",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.577/1.577, allocations: 221.4 MB / 234.6 MB, free: 14.45 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009671/0.0009671, allocations: 93.16 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.09932/0.09932, allocations: 20.16 MB / 356.7 MB, free: 5.918 MB / 298.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: TubeType_L2 TubeType_L3 ShellType_L2 ShellType_L3 [/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: TubeType_L2 TubeType_L3 ShellType_L2 ShellType_L3 [/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 1.198/1.198, allocations: 127.5 MB / 0.5284 GB, free: 15.95 MB / 362.8 MB Notification: Performance of FrontEnd - loaded program: time 6.429e-05/6.441e-05, allocations: 4 kB / 0.6181 GB, free: 3.957 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5959/0.596, allocations: 82.84 MB / 0.699 GB, free: 32.12 MB / 474.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2009/0.797, allocations: 120 MB / 0.8162 GB, free: 1.195 MB / 0.5418 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003334/0.7975, allocations: 87.92 kB / 0.8162 GB, free: 1.109 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 0.01982/0.8173, allocations: 6.413 MB / 0.8225 GB, free: 10.72 MB / 0.5574 GB Notification: Performance of FrontEnd: time 1.713e-06/0.8174, allocations: 3.938 kB / 0.8225 GB, free: 10.71 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 2.125e-05/0.8174, allocations: 4.562 kB / 0.8225 GB, free: 10.71 MB / 0.5574 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008367/0.8183, allocations: 431 kB / 0.8229 GB, free: 10.25 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 7.398e-05/0.8183, allocations: 9.281 kB / 0.8229 GB, free: 10.25 MB / 0.5574 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.28e-05/0.8184, allocations: 42.55 kB / 0.823 GB, free: 10.2 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.859e-05/0.8185, allocations: 16.77 kB / 0.823 GB, free: 10.18 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003164/0.8189, allocations: 195.5 kB / 0.8232 GB, free: 9.949 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.773e-05/0.819, allocations: 36.42 kB / 0.8232 GB, free: 9.91 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.01e-05/0.819, allocations: 9.219 kB / 0.8232 GB, free: 9.902 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002436/0.8193, allocations: 90.22 kB / 0.8233 GB, free: 9.809 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.8193, allocations: 0 / 0.8233 GB, free: 9.809 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.8193, allocations: 0.75 kB / 0.8233 GB, free: 9.809 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/0.8193, allocations: 3.984 kB / 0.8233 GB, free: 9.805 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001746/0.8195, allocations: 70.22 kB / 0.8234 GB, free: 9.738 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009305/0.8205, allocations: 405.5 kB / 0.8238 GB, free: 9.297 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000234/0.8207, allocations: 101.3 kB / 0.8239 GB, free: 9.191 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.454e-05/0.8208, allocations: 52.89 kB / 0.8239 GB, free: 9.137 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 3.494e-05/0.8209, allocations: 0 / 0.8239 GB, free: 9.137 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/0.8209, allocations: 39.88 kB / 0.824 GB, free: 9.09 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=12): time 1.453e-06/0.8209, allocations: 0 / 0.824 GB, free: 9.09 MB / 0.5574 GB Notification: Performance of matching and sorting (n=12): time 0.0003448/0.8213, allocations: 129.6 kB / 0.8241 GB, free: 8.957 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/0.8213, allocations: 56.44 kB / 0.8241 GB, free: 8.891 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.8214, allocations: 114.2 kB / 0.8242 GB, free: 8.77 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.8215, allocations: 30.73 kB / 0.8243 GB, free: 8.734 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 5.94e-05/0.8215, allocations: 96.5 kB / 0.8244 GB, free: 8.637 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 4.422e-05/0.8216, allocations: 48.38 kB / 0.8244 GB, free: 8.59 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.798e-06/0.8216, allocations: 4 kB / 0.8244 GB, free: 8.586 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.8218, allocations: 323 kB / 0.8247 GB, free: 8.266 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.872e-05/0.8219, allocations: 43.98 kB / 0.8248 GB, free: 8.223 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.105e-05/0.8219, allocations: 39 kB / 0.8248 GB, free: 8.188 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.359e-05/0.822, allocations: 43.98 kB / 0.8248 GB, free: 8.145 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.822, allocations: 7.922 kB / 0.8248 GB, free: 8.137 MB / 0.5574 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002445/0.8223, allocations: 139.7 kB / 0.825 GB, free: 7.996 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.8223, allocations: 4.781 kB / 0.825 GB, free: 7.992 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.8223, allocations: 5.25 kB / 0.825 GB, free: 7.988 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.8224, allocations: 3.953 kB / 0.825 GB, free: 7.984 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004878/0.8229, allocations: 89.27 kB / 0.8251 GB, free: 7.902 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.8229, allocations: 0 / 0.8251 GB, free: 7.902 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.009e-05/0.823, allocations: 19.83 kB / 0.8251 GB, free: 7.883 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.347e-05/0.823, allocations: 8 kB / 0.8251 GB, free: 7.875 MB / 0.5574 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 (16): * Single equations (assignments): 16 * 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 9.508e-05/0.8231, allocations: 117.5 kB / 0.8252 GB, free: 7.754 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.863e-05/0.8232, allocations: 7.906 kB / 0.8252 GB, free: 7.746 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003524/0.8235, allocations: 154.5 kB / 0.8254 GB, free: 7.59 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.8235, allocations: 3.953 kB / 0.8254 GB, free: 7.586 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.8236, allocations: 0.75 kB / 0.8254 GB, free: 7.586 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.8236, allocations: 0 / 0.8254 GB, free: 7.586 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006265/0.8242, allocations: 464.9 kB / 0.8258 GB, free: 7.074 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.8242, allocations: 0 / 0.8258 GB, free: 7.074 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005037/0.8247, allocations: 89.91 kB / 0.8259 GB, free: 6.992 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.8247, allocations: 3.953 kB / 0.8259 GB, free: 6.988 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.106e-05/0.8248, allocations: 8 kB / 0.8259 GB, free: 6.98 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.8248, allocations: 1.125 kB / 0.8259 GB, free: 6.98 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.8248, allocations: 3.984 kB / 0.8259 GB, free: 6.977 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004299/0.8252, allocations: 319.4 kB / 0.8262 GB, free: 6.641 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 5.784e-05/0.8253, allocations: 93.56 kB / 0.8263 GB, free: 6.531 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.714e-05/0.8253, allocations: 4.5 kB / 0.8263 GB, free: 6.527 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.8255, allocations: 13.92 kB / 0.8263 GB, free: 6.516 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.874e-05/0.8255, allocations: 11.98 kB / 0.8263 GB, free: 6.504 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.66e-05/0.8255, allocations: 4 kB / 0.8264 GB, free: 6.5 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 7.483e-05/0.8256, allocations: 102.3 kB / 0.8264 GB, free: 6.402 MB / 0.5574 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8256, allocations: 0 / 0.8264 GB, free: 6.402 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.0003633/0.826, allocations: 51.94 kB / 0.8265 GB, free: 6.352 MB / 0.5574 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (noise.y_,noise.y,slidingMean.integral) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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.001245/0.8273, allocations: 1.009 MB / 0.8275 GB, free: 5.359 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.0002538/0.8275, allocations: 107.9 kB / 0.8276 GB, free: 5.254 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.8275, allocations: 0 / 0.8276 GB, free: 5.254 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.8276, allocations: 55.92 kB / 0.8276 GB, free: 5.199 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001865/0.8278, allocations: 12.72 kB / 0.8277 GB, free: 5.188 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001338/0.8292, allocations: 426.1 kB / 0.8281 GB, free: 4.738 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002944/0.8295, allocations: 0.7135 MB / 0.8288 GB, free: 3.996 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.0001215/0.8296, allocations: 28.28 kB / 0.8288 GB, free: 3.969 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.679e-05/0.8297, allocations: 35.42 kB / 0.8288 GB, free: 3.934 MB / 0.5574 GB Notification: Performance of SimCode: time 4.91e-07/0.8297, allocations: 0 / 0.8288 GB, free: 3.934 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01548/0.8452, allocations: 2.768 MB / 0.8315 GB, free: 1.402 MB / 0.5574 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002462/0.8455, allocations: 189.8 kB / 0.8317 GB, free: 1.176 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.769/2.615, allocations: 3.281 kB / 0.8317 GB, free: 1.176 MB / 0.5574 GB (rm -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestSlidingmean.pipe ; mkfifo ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestSlidingmean.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestSlidingmean.pipe >> ../files/ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestSlidingmean.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestSlidingmean_res.mat --tempDir=temp_ClaRa_dev_ClaRa_Components_Utilities_Blocks_Check_TestSlidingmean_fmu --startTime=0 --stopTime=150 --timeout=50 --tolerance=1e-06 ClaRa_dev_ClaRa_Components_Utilities_Blocks_Check_TestSlidingmean.fmu > ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestSlidingmean.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestSlidingmean_res.mat does not exist to compare? outputFormat=mat