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.203/2.203, allocations: 387.1 MB / 399.7 MB, free: 9.48 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.001381/0.001381, allocations: 175.2 kB / 492.3 MB, free: 0.6133 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.517/1.517, allocations: 221.3 MB / 0.7871 GB, free: 12.94 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.0008478/0.000848, allocations: 95.95 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.973e-05/2.976e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2637/0.2638, allocations: 142.4 MB / 1.212 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9202/1.184, allocations: 154 MB / 1.363 GB, free: 19.07 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002627/1.184, allocations: 84.36 kB / 1.363 GB, free: 19.07 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02229/1.207, allocations: 8.98 MB / 1.372 GB, free: 34.22 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.553e-06/1.207, allocations: 0 / 1.372 GB, free: 34.22 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.156e-05/1.207, allocations: 3.812 kB / 1.372 GB, free: 34.22 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.0007009/1.207, allocations: 0.5067 MB / 1.372 GB, free: 33.78 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/1.207, allocations: 11.56 kB / 1.372 GB, free: 33.78 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.999e-05/1.208, allocations: 47.7 kB / 1.372 GB, free: 33.74 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001715/1.208, allocations: 27.25 kB / 1.372 GB, free: 33.73 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003529/1.208, allocations: 285.7 kB / 1.373 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/1.208, allocations: 21.08 kB / 1.373 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.638e-05/1.208, allocations: 15.06 kB / 1.373 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000367/1.209, allocations: 228.1 kB / 1.373 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/1.209, allocations: 3.938 kB / 1.373 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.85e-05/1.209, allocations: 5.078 kB / 1.373 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/1.209, allocations: 3.781 kB / 1.373 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000753/1.209, allocations: 0.7416 MB / 1.374 GB, free: 33.42 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008331/1.21, allocations: 0.6102 MB / 1.374 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004161/1.211, allocations: 291.8 kB / 1.374 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001508/1.211, allocations: 105.4 kB / 1.375 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.965e-05/1.211, allocations: 24.02 kB / 1.375 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002927/1.211, allocations: 187.8 kB / 1.375 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=35): time 2.064e-06/1.211, allocations: 0 / 1.375 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of matching and sorting (n=35): time 0.0005103/1.212, allocations: 276.1 kB / 1.375 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.934e-05/1.212, allocations: 135.1 kB / 1.375 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003208/1.212, allocations: 263.5 kB / 1.375 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.085e-05/1.212, allocations: 36.52 kB / 1.375 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.966e-05/1.212, allocations: 142.8 kB / 1.376 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.212e-05/1.212, allocations: 110 kB / 1.376 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.29e-05/1.212, allocations: 3 kB / 1.376 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001272/1.212, allocations: 341.4 kB / 1.376 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/1.213, allocations: 78.52 kB / 1.376 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001629/1.213, allocations: 121.9 kB / 1.376 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001807/1.213, allocations: 105.5 kB / 1.376 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/1.213, allocations: 0 / 1.376 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004271/1.213, allocations: 276.4 kB / 1.377 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/1.213, allocations: 3.875 kB / 1.377 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/1.213, allocations: 4 kB / 1.377 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/1.214, allocations: 7.828 kB / 1.377 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002326/1.214, allocations: 61.73 kB / 1.377 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/1.214, allocations: 3.812 kB / 1.377 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001718/1.214, allocations: 28.44 kB / 1.377 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.973e-05/1.214, allocations: 14.23 kB / 1.377 GB, free: 32.09 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.0001232/1.214, allocations: 119 kB / 1.377 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.446e-05/1.214, allocations: 37.53 kB / 1.377 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006931/1.215, allocations: 382.6 kB / 1.377 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/1.215, allocations: 7.891 kB / 1.377 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/1.215, allocations: 3.75 kB / 1.377 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/1.215, allocations: 2.719 kB / 1.377 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003153/1.215, allocations: 350.9 kB / 1.378 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/1.215, allocations: 3.875 kB / 1.378 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001848/1.215, allocations: 52.58 kB / 1.378 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/1.215, allocations: 7.812 kB / 1.378 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.466e-05/1.216, allocations: 17.02 kB / 1.378 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/1.216, allocations: 0 / 1.378 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/1.216, allocations: 3.953 kB / 1.378 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004458/1.216, allocations: 319.3 kB / 1.378 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001679/1.216, allocations: 154.3 kB / 1.378 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.428e-05/1.216, allocations: 9.188 kB / 1.378 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001904/1.216, allocations: 34.77 kB / 1.378 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.431e-05/1.216, allocations: 22.62 kB / 1.378 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-05/1.217, allocations: 17.22 kB / 1.378 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002173/1.217, allocations: 225.6 kB / 1.378 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.7e-07/1.217, allocations: 0 / 1.378 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003393/1.217, allocations: 78.52 kB / 1.378 GB, free: 31.38 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.001547/1.219, allocations: 1.121 MB / 1.38 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003746/1.219, allocations: 225.1 kB / 1.38 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/1.219, allocations: 3.938 kB / 1.38 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001784/1.219, allocations: 128.4 kB / 1.38 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/1.22, allocations: 33.8 kB / 1.38 GB, free: 30.64 MB / 0.8386 GB Warning: Could not resolve URI (OpenModelica_fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Resources/weatherdata/USA_IL_Chicago-OHare.Intl.AP.725300_TMY3.mos")) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009727/1.22, allocations: 0.4935 MB / 1.38 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004517/1.221, allocations: 0.7781 MB / 1.381 GB, free: 29.76 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0003402/1.221, allocations: 147.1 kB / 1.381 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001536/1.221, allocations: 101 kB / 1.381 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of SimCode: time 3.11e-07/1.221, allocations: 0 / 1.381 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3988/1.62, allocations: 5.99 MB / 1.387 GB, free: 27.6 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000218/1.621, allocations: 222.4 kB / 1.387 GB, free: 27.38 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.01/3.631, allocations: 3.875 kB / 1.387 GB, free: 27.38 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