Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.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.LimitMin,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",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.457/2.457, allocations: 387.4 MB / 394.9 MB, free: 13.43 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.0015/0.001499, allocations: 184.8 kB / 487.4 MB, free: 5.055 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.853/1.853, allocations: 221.5 MB / 0.7824 GB, free: 0.9609 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.001156/0.001156, allocations: 103.6 kB / 0.9219 GB, free: 2.184 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.508e-05/2.509e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2707/0.2708, allocations: 142.4 MB / 1.206 GB, free: 43.85 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8737/1.144, allocations: 152.1 MB / 1.355 GB, free: 18.29 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002741/1.145, allocations: 85.78 kB / 1.355 GB, free: 18.29 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01935/1.164, allocations: 7.898 MB / 1.362 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.433e-06/1.164, allocations: 0 / 1.362 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.41e-05/1.164, allocations: 3.875 kB / 1.362 GB, free: 33.55 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0005292/1.165, allocations: 481.9 kB / 1.363 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/1.165, allocations: 11.72 kB / 1.363 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.718e-05/1.165, allocations: 27.28 kB / 1.363 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000292/1.165, allocations: 269 kB / 1.363 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.836e-05/1.165, allocations: 7.812 kB / 1.363 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.145e-05/1.165, allocations: 11.59 kB / 1.363 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006991/1.166, allocations: 0.7204 MB / 1.364 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002319/1.166, allocations: 191.4 kB / 1.364 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/1.166, allocations: 4 kB / 1.364 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.347e-05/1.166, allocations: 0 / 1.364 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/1.166, allocations: 6.609 kB / 1.364 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006522/1.167, allocations: 0.5203 MB / 1.365 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003254/1.167, allocations: 269.1 kB / 1.365 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/1.167, allocations: 97.28 kB / 1.365 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.933e-05/1.167, allocations: 17.53 kB / 1.365 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002138/1.168, allocations: 162.7 kB / 1.365 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=34): time 1.493e-06/1.168, allocations: 0 / 1.365 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of matching and sorting (n=34): time 0.0003903/1.168, allocations: 263.4 kB / 1.365 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.785e-05/1.168, allocations: 132.4 kB / 1.365 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002347/1.168, allocations: 254 kB / 1.366 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/1.168, allocations: 25.7 kB / 1.366 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.539e-05/1.168, allocations: 122.8 kB / 1.366 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.038e-05/1.169, allocations: 107.2 kB / 1.366 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.102e-05/1.169, allocations: 3.938 kB / 1.366 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001242/1.169, allocations: 340.6 kB / 1.366 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.526e-05/1.169, allocations: 72.95 kB / 1.366 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001148/1.169, allocations: 114.7 kB / 1.366 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/1.169, allocations: 110.6 kB / 1.367 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/1.169, allocations: 0 / 1.367 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003116/1.169, allocations: 252.7 kB / 1.367 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/1.169, allocations: 7.75 kB / 1.367 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/1.169, allocations: 3.281 kB / 1.367 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/1.169, allocations: 0 / 1.367 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002022/1.17, allocations: 60.84 kB / 1.367 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/1.17, allocations: 0 / 1.367 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001363/1.17, allocations: 22.86 kB / 1.367 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.286e-05/1.17, allocations: 17.94 kB / 1.367 GB, free: 31.53 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 (35): * Single equations (assignments): 35 * 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.0001054/1.17, allocations: 110.2 kB / 1.367 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003238/1.17, allocations: 263.4 kB / 1.367 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.523e-05/1.17, allocations: 23.16 kB / 1.367 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005361/1.171, allocations: 374.4 kB / 1.368 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/1.171, allocations: 3.812 kB / 1.368 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/1.171, allocations: 0 / 1.368 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.002e-06/1.171, allocations: 7.188 kB / 1.368 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002252/1.171, allocations: 291.5 kB / 1.368 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/1.171, allocations: 3.938 kB / 1.368 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001593/1.171, allocations: 59.22 kB / 1.368 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/1.171, allocations: 0 / 1.368 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/1.171, allocations: 6.969 kB / 1.368 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/1.171, allocations: 3.844 kB / 1.368 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/1.171, allocations: 0 / 1.368 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003278/1.172, allocations: 304.3 kB / 1.368 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001183/1.172, allocations: 156.8 kB / 1.368 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.941e-05/1.172, allocations: 0 / 1.368 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/1.172, allocations: 10.62 kB / 1.368 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.885e-05/1.172, allocations: 25.34 kB / 1.368 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.958e-05/1.172, allocations: 10.47 kB / 1.368 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001503/1.172, allocations: 214.6 kB / 1.369 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of sort global known variables: time 8.01e-07/1.172, allocations: 3.938 kB / 1.369 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002853/1.173, allocations: 61.72 kB / 1.369 GB, free: 30.79 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 (34): * Single equations (assignments): 33 * 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.001153/1.174, allocations: 1.079 MB / 1.37 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002713/1.174, allocations: 201.8 kB / 1.37 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/1.174, allocations: 3.812 kB / 1.37 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001249/1.174, allocations: 121.2 kB / 1.37 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/1.174, allocations: 21.7 kB / 1.37 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006992/1.175, allocations: 459.6 kB / 1.371 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003175/1.175, allocations: 0.7661 MB / 1.371 GB, free: 29.16 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002896/1.176, allocations: 152.4 kB / 1.371 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/1.176, allocations: 88.81 kB / 1.372 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of SimCode: time 4e-07/1.176, allocations: 0 / 1.372 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.011/2.186, allocations: 4.981 MB / 1.376 GB, free: 28.71 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001661/2.187, allocations: 194 kB / 1.377 GB, free: 28.52 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.269/4.455, allocations: 1.5 kB / 1.377 GB, free: 28.52 MB / 0.8386 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin_fmu --startTime=0 --stopTime=432000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat does not exist to compare? outputFormat=mat