Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.294/2.294, allocations: 387.4 MB / 394.9 MB, free: 13.34 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 176.7 kB / 487.4 MB, free: 5.047 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.618/1.618, allocations: 221.5 MB / 0.7824 GB, free: 1.016 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008284/0.0008284, allocations: 95.89 kB / 0.9219 GB, free: 2.262 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.04e-05/2.027e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2539/0.2539, allocations: 142.4 MB / 1.206 GB, free: 43.9 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9068/1.161, allocations: 153.3 MB / 1.356 GB, free: 18.11 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002248/1.161, allocations: 90 kB / 1.356 GB, free: 18.11 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02017/1.181, allocations: 8.814 MB / 1.364 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.683e-06/1.181, allocations: 3.875 kB / 1.364 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.608e-05/1.181, allocations: 7.438 kB / 1.364 GB, free: 33.29 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0004929/1.182, allocations: 0.4973 MB / 1.365 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/1.182, allocations: 7.688 kB / 1.365 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001282/1.182, allocations: 31.08 kB / 1.365 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002903/1.182, allocations: 287.4 kB / 1.365 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/1.182, allocations: 7.75 kB / 1.365 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.238e-05/1.182, allocations: 10.56 kB / 1.365 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006977/1.183, allocations: 0.7277 MB / 1.366 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002539/1.183, allocations: 209.7 kB / 1.366 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/1.183, allocations: 0 / 1.366 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.283e-05/1.183, allocations: 0 / 1.366 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/1.183, allocations: 7.844 kB / 1.366 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006579/1.184, allocations: 0.5637 MB / 1.367 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003092/1.184, allocations: 273 kB / 1.367 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/1.184, allocations: 100.9 kB / 1.367 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.873e-05/1.184, allocations: 22.81 kB / 1.367 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002087/1.185, allocations: 171.6 kB / 1.367 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=35): time 1.373e-06/1.185, allocations: 0 / 1.367 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of matching and sorting (n=35): time 0.0003683/1.185, allocations: 260.2 kB / 1.368 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/1.185, allocations: 139.5 kB / 1.368 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002114/1.185, allocations: 251.8 kB / 1.368 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/1.185, allocations: 33.64 kB / 1.368 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.432e-05/1.185, allocations: 136.3 kB / 1.368 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.507e-05/1.185, allocations: 111.5 kB / 1.368 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.03e-05/1.186, allocations: 0 / 1.368 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.654e-05/1.186, allocations: 341.3 kB / 1.369 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.07e-05/1.186, allocations: 72.67 kB / 1.369 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/1.186, allocations: 114.3 kB / 1.369 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001282/1.186, allocations: 111.7 kB / 1.369 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/1.186, allocations: 0 / 1.369 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003103/1.186, allocations: 254.2 kB / 1.369 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/1.186, allocations: 3.812 kB / 1.369 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/1.186, allocations: 3.875 kB / 1.369 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/1.186, allocations: 0 / 1.369 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001981/1.187, allocations: 65.41 kB / 1.369 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/1.187, allocations: 6.859 kB / 1.369 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001337/1.187, allocations: 33.19 kB / 1.369 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.078e-05/1.187, allocations: 7.688 kB / 1.369 GB, free: 31.23 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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 8.073e-05/1.187, allocations: 112.8 kB / 1.369 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003084/1.187, allocations: 272 kB / 1.37 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.418e-05/1.187, allocations: 23.22 kB / 1.37 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005049/1.188, allocations: 362.5 kB / 1.37 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/1.188, allocations: 7.859 kB / 1.37 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/1.188, allocations: 4 kB / 1.37 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/1.188, allocations: 2.812 kB / 1.37 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002103/1.188, allocations: 307.9 kB / 1.37 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/1.188, allocations: 0 / 1.37 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001532/1.188, allocations: 61.83 kB / 1.37 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/1.188, allocations: 0 / 1.37 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/1.188, allocations: 9.609 kB / 1.37 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/1.188, allocations: 3.844 kB / 1.37 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/1.188, allocations: 0 / 1.37 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000321/1.188, allocations: 311.2 kB / 1.371 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/1.189, allocations: 154.4 kB / 1.371 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.881e-05/1.189, allocations: 0 / 1.371 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/1.189, allocations: 27.7 kB / 1.371 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.21e-05/1.189, allocations: 27.69 kB / 1.371 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.117e-05/1.189, allocations: 14.53 kB / 1.371 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001446/1.189, allocations: 219.2 kB / 1.371 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.61e-07/1.189, allocations: 0 / 1.371 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002914/1.189, allocations: 71.56 kB / 1.371 GB, free: 30.48 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001144/1.19, allocations: 1.079 MB / 1.372 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002585/1.191, allocations: 208.1 kB / 1.372 GB, free: 29.76 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/1.191, allocations: 0 / 1.372 GB, free: 29.76 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001231/1.191, allocations: 120.4 kB / 1.372 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002214/1.191, allocations: 27.58 kB / 1.372 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008324/1.192, allocations: 481.6 kB / 1.373 GB, free: 29.56 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003658/1.192, allocations: 0.7693 MB / 1.374 GB, free: 28.86 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0003289/1.193, allocations: 149.4 kB / 1.374 GB, free: 28.83 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001366/1.193, allocations: 98.73 kB / 1.374 GB, free: 28.82 MB / 0.8386 GB Notification: Performance of SimCode: time 2.5e-07/1.193, allocations: 3.938 kB / 1.374 GB, free: 28.82 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.225/4.418, allocations: 5.467 MB / 1.379 GB, free: 28.07 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002326/4.418, allocations: 214.3 kB / 1.379 GB, free: 27.78 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.8/7.218, allocations: 5.438 kB / 1.379 GB, free: 27.78 MB / 0.8386 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat does not exist to compare? outputFormat=mat