Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.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.LocalCivilTime,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",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.279/2.279, allocations: 390.3 MB / 405.3 MB, free: 13.45 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.001136/0.001136, allocations: 183.3 kB / 498.1 MB, free: 5.695 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.476/1.476, allocations: 223.1 MB / 0.7948 GB, free: 17.91 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009243/0.0009244, allocations: 100.3 kB / 0.9346 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003645/0.0003646, allocations: 6.875 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.2509, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1796/0.4305, allocations: 149.6 MB / 1.369 GB, free: 12.41 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00036/0.4309, allocations: 83.94 kB / 1.369 GB, free: 12.32 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002295/0.4333, allocations: 0.754 MB / 1.37 GB, free: 11.57 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.086e-06/0.4333, allocations: 0 / 1.37 GB, free: 11.57 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.535e-05/0.4333, allocations: 0 / 1.37 GB, free: 11.57 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003425/0.4337, allocations: 331.3 kB / 1.37 GB, free: 11.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.4337, allocations: 8.031 kB / 1.37 GB, free: 11.19 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.483e-05/0.4338, allocations: 34.56 kB / 1.37 GB, free: 11.15 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.494e-05/0.4338, allocations: 4 kB / 1.37 GB, free: 11.14 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.434, allocations: 163 kB / 1.37 GB, free: 10.95 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.434, allocations: 0 / 1.37 GB, free: 10.95 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.085e-05/0.434, allocations: 8 kB / 1.37 GB, free: 10.94 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.474e-05/0.4341, allocations: 33.69 kB / 1.37 GB, free: 10.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.4341, allocations: 0 / 1.37 GB, free: 10.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/0.4341, allocations: 0 / 1.37 GB, free: 10.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.4342, allocations: 0 / 1.37 GB, free: 10.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.04e-05/0.4342, allocations: 11.94 kB / 1.37 GB, free: 10.89 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003499/0.4346, allocations: 244.9 kB / 1.371 GB, free: 10.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.013e-05/0.4346, allocations: 22.58 kB / 1.371 GB, free: 10.57 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.141e-05/0.4347, allocations: 0 / 1.371 GB, free: 10.57 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.4347, allocations: 30.56 kB / 1.371 GB, free: 10.53 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.4347, allocations: 0 / 1.371 GB, free: 10.53 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.000164/0.4349, allocations: 53.69 kB / 1.371 GB, free: 10.47 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/0.4349, allocations: 51.41 kB / 1.371 GB, free: 10.41 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.035e-05/0.435, allocations: 100.9 kB / 1.371 GB, free: 10.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.435, allocations: 25.7 kB / 1.371 GB, free: 10.27 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.182e-05/0.4351, allocations: 80.14 kB / 1.371 GB, free: 10.19 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.119e-05/0.4351, allocations: 11.84 kB / 1.371 GB, free: 10.18 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.144e-06/0.4351, allocations: 0 / 1.371 GB, free: 10.18 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.4352, allocations: 318.8 kB / 1.371 GB, free: 9.855 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.35e-05/0.4353, allocations: 4.125 kB / 1.371 GB, free: 9.852 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.161e-05/0.4353, allocations: 4 kB / 1.371 GB, free: 9.848 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.519e-05/0.4353, allocations: 0 / 1.371 GB, free: 9.848 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.4353, allocations: 0 / 1.371 GB, free: 9.848 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.839e-05/0.4354, allocations: 45.64 kB / 1.371 GB, free: 9.797 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.4354, allocations: 8.875 kB / 1.371 GB, free: 9.789 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.4354, allocations: 0 / 1.371 GB, free: 9.789 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.4355, allocations: 3.984 kB / 1.371 GB, free: 9.785 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.509e-05/0.4355, allocations: 4 kB / 1.371 GB, free: 9.781 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.4355, allocations: 96 / 1.371 GB, free: 9.781 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.026e-05/0.4356, allocations: 7.906 kB / 1.371 GB, free: 9.773 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.4356, allocations: 7.953 kB / 1.371 GB, free: 9.766 MB / 0.8698 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.068e-05/0.4357, allocations: 113.8 kB / 1.371 GB, free: 9.645 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.238e-05/0.4357, allocations: 3.938 kB / 1.371 GB, free: 9.641 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.132e-05/0.4357, allocations: 3.125 kB / 1.371 GB, free: 9.637 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.4357, allocations: 0 / 1.371 GB, free: 9.637 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.4357, allocations: 0 / 1.371 GB, free: 9.637 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.4357, allocations: 0 / 1.371 GB, free: 9.637 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001665/0.4359, allocations: 157.6 kB / 1.372 GB, free: 9.434 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.4359, allocations: 4 kB / 1.372 GB, free: 9.43 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.035e-05/0.436, allocations: 7.984 kB / 1.372 GB, free: 9.422 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.436, allocations: 0 / 1.372 GB, free: 9.422 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-06/0.436, allocations: 0 / 1.372 GB, free: 9.422 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.119e-06/0.436, allocations: 7.938 kB / 1.372 GB, free: 9.414 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.436, allocations: 0 / 1.372 GB, free: 9.414 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001079/0.4361, allocations: 131.5 kB / 1.372 GB, free: 9.27 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.41e-05/0.4362, allocations: 85.12 kB / 1.372 GB, free: 9.168 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.183e-05/0.4362, allocations: 0 / 1.372 GB, free: 9.168 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.945e-05/0.4362, allocations: 0 / 1.372 GB, free: 9.168 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.308e-05/0.4363, allocations: 4 kB / 1.372 GB, free: 9.164 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.4363, allocations: 0 / 1.372 GB, free: 9.164 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.486e-05/0.4363, allocations: 83.28 kB / 1.372 GB, free: 9.082 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.1e-07/0.4363, allocations: 0 / 1.372 GB, free: 9.082 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000199/0.4365, allocations: 4 kB / 1.372 GB, free: 9.078 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.000427/0.437, allocations: 0.681 MB / 1.373 GB, free: 8.371 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 7.119e-05/0.437, allocations: 4 kB / 1.373 GB, free: 8.367 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.437, allocations: 0 / 1.373 GB, free: 8.367 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.195e-05/0.4371, allocations: 4 kB / 1.373 GB, free: 8.363 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001372/0.4372, allocations: 5.547 kB / 1.373 GB, free: 8.359 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006043/0.4378, allocations: 348.5 kB / 1.373 GB, free: 7.965 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/0.4381, allocations: 0.677 MB / 1.374 GB, free: 7.262 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.095e-05/0.4381, allocations: 0 / 1.374 GB, free: 7.262 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.945e-05/0.4382, allocations: 19.42 kB / 1.374 GB, free: 7.242 MB / 0.8698 GB Notification: Performance of SimCode: time 6.72e-07/0.4382, allocations: 0 / 1.374 GB, free: 7.242 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01344/0.4516, allocations: 0.8695 MB / 1.374 GB, free: 6.543 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002656/0.4519, allocations: 209.1 kB / 1.375 GB, free: 6.305 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.438/1.89, allocations: 0 / 1.375 GB, free: 6.305 MB / 0.8698 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.mat does not exist to compare? outputFormat=mat