Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.388/2.388, allocations: 390.5 MB / 398 MB, free: 10.98 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.001454/0.001454, allocations: 172.9 kB / 491.2 MB, free: 1.609 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.591/1.591, allocations: 221.5 MB / 0.7868 GB, free: 13.36 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.0008678/0.0008679, allocations: 99.88 kB / 0.9269 GB, free: 13.86 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.936e-05/1.936e-05, allocations: 6.031 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2758/0.2758, allocations: 143 MB / 1.212 GB, free: 39.47 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.917/1.193, allocations: 154.1 MB / 1.363 GB, free: 17.23 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000246/1.193, allocations: 87.95 kB / 1.363 GB, free: 17.23 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02106/1.214, allocations: 8.818 MB / 1.372 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.873e-06/1.214, allocations: 0 / 1.372 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.587e-05/1.214, allocations: 11.62 kB / 1.372 GB, free: 32.4 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.0005323/1.215, allocations: 0.4938 MB / 1.372 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/1.215, allocations: 11.59 kB / 1.372 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001422/1.215, allocations: 27.19 kB / 1.372 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002965/1.215, allocations: 285.5 kB / 1.372 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/1.215, allocations: 3.875 kB / 1.372 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.16e-05/1.215, allocations: 11.5 kB / 1.372 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006802/1.216, allocations: 0.7273 MB / 1.373 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002681/1.216, allocations: 208 kB / 1.373 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/1.216, allocations: 0 / 1.373 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.361e-05/1.216, allocations: 0 / 1.373 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/1.216, allocations: 10.97 kB / 1.373 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007031/1.217, allocations: 0.5668 MB / 1.374 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003363/1.218, allocations: 277.5 kB / 1.374 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001076/1.218, allocations: 94.12 kB / 1.374 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.118e-05/1.218, allocations: 21.84 kB / 1.374 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002305/1.218, allocations: 172.7 kB / 1.374 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=35): time 1.593e-06/1.218, allocations: 0 / 1.374 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of matching and sorting (n=35): time 0.0004096/1.218, allocations: 269.2 kB / 1.375 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/1.218, allocations: 132.4 kB / 1.375 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002229/1.219, allocations: 255.3 kB / 1.375 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/1.219, allocations: 25.7 kB / 1.375 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.39e-05/1.219, allocations: 138.6 kB / 1.375 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.46e-05/1.219, allocations: 113.5 kB / 1.375 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.111e-05/1.219, allocations: 0 / 1.375 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001054/1.219, allocations: 345.9 kB / 1.376 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.365e-05/1.219, allocations: 70.45 kB / 1.376 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001182/1.219, allocations: 119.4 kB / 1.376 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001422/1.219, allocations: 90.44 kB / 1.376 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/1.219, allocations: 0 / 1.376 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003278/1.22, allocations: 268.7 kB / 1.376 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/1.22, allocations: 3.812 kB / 1.376 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/1.22, allocations: 7.984 kB / 1.376 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/1.22, allocations: 3.938 kB / 1.376 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002111/1.22, allocations: 63.36 kB / 1.376 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/1.22, allocations: 3.844 kB / 1.376 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001376/1.22, allocations: 22.95 kB / 1.376 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.645e-05/1.22, allocations: 14.81 kB / 1.376 GB, free: 30.34 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 0.0001326/1.22, allocations: 108.4 kB / 1.376 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000359/1.221, allocations: 267.8 kB / 1.377 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.171e-05/1.221, allocations: 27.12 kB / 1.377 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005829/1.221, allocations: 365.7 kB / 1.377 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/1.221, allocations: 7.781 kB / 1.377 GB, free: 30.08 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/1.221, allocations: 0 / 1.377 GB, free: 30.08 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/1.221, allocations: 3.047 kB / 1.377 GB, free: 30.08 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000273/1.222, allocations: 304.3 kB / 1.377 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/1.222, allocations: 0 / 1.377 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001643/1.222, allocations: 62.89 kB / 1.377 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.673e-06/1.222, allocations: 3.844 kB / 1.377 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.096e-05/1.222, allocations: 18.86 kB / 1.377 GB, free: 29.9 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/1.222, allocations: 0 / 1.377 GB, free: 29.9 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/1.222, allocations: 3.953 kB / 1.377 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003918/1.222, allocations: 305.6 kB / 1.378 GB, free: 29.81 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001447/1.222, allocations: 156.1 kB / 1.378 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.428e-05/1.222, allocations: 3.969 kB / 1.378 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001714/1.223, allocations: 25.03 kB / 1.378 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.028e-05/1.223, allocations: 25.95 kB / 1.378 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.576e-05/1.223, allocations: 18.06 kB / 1.378 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001777/1.223, allocations: 208.5 kB / 1.378 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.223, allocations: 0 / 1.378 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000297/1.223, allocations: 68.97 kB / 1.378 GB, free: 29.61 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.001395/1.225, allocations: 1.076 MB / 1.379 GB, free: 28.89 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002967/1.225, allocations: 207.2 kB / 1.379 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/1.225, allocations: 4 kB / 1.379 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001429/1.225, allocations: 126.6 kB / 1.38 GB, free: 28.86 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002425/1.225, allocations: 24.95 kB / 1.38 GB, free: 28.86 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008255/1.226, allocations: 490 kB / 1.38 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003486/1.227, allocations: 0.7658 MB / 1.381 GB, free: 27.96 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0003175/1.227, allocations: 159.2 kB / 1.381 GB, free: 27.92 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001391/1.227, allocations: 99.11 kB / 1.381 GB, free: 27.91 MB / 0.8386 GB Notification: Performance of SimCode: time 2.31e-07/1.227, allocations: 0 / 1.381 GB, free: 27.91 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5122/1.739, allocations: 5.474 MB / 1.386 GB, free: 26.32 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001982/1.74, allocations: 215.1 kB / 1.387 GB, free: 26.04 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.135/3.874, allocations: 0 / 1.387 GB, free: 26.04 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat does not exist to compare? outputFormat=mat