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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001595/0.001596, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002565/0.002565, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.635/1.635, allocations: 223.2 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.491/2.491, allocations: 390.4 MB / 0.6655 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00039/0.0003901, allocations: 8 kB / 0.8149 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.872/0.8725, allocations: 142.3 MB / 0.9539 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002204/0.8747, allocations: 1.545 MB / 0.9554 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002175/0.8769, allocations: 1.479 MB / 0.9568 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.613e-05/0.877, allocations: 5.344 kB / 0.9568 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002309/0.8773, allocations: 22.7 kB / 0.9568 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002482/0.8775, allocations: 63.41 kB / 0.9569 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004087/0.8779, allocations: 149.6 kB / 0.957 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002779/0.8782, allocations: 240.4 kB / 0.9573 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.8783, allocations: 25.48 kB / 0.9573 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.767e-05/0.8784, allocations: 83.19 kB / 0.9574 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002044/0.8787, allocations: 90.89 kB / 0.9575 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.461e-05/0.8787, allocations: 9.094 kB / 0.9575 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001756/0.8789, allocations: 69.69 kB / 0.9575 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.186e-05/0.879, allocations: 74.02 kB / 0.9576 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.105e-05/0.8791, allocations: 66.3 kB / 0.9577 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002547/0.8793, allocations: 237.5 kB / 0.9579 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.8793, allocations: 0 / 0.9579 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.873e-06/0.8794, allocations: 1.344 kB / 0.9579 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.778e-06/0.8794, allocations: 0 / 0.9579 GB, free: 5.027 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0006853/0.8801, allocations: 0.5071 MB / 0.9584 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.8801, allocations: 8.375 kB / 0.9584 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.282e-05/0.8802, allocations: 54.05 kB / 0.9585 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001494/0.8803, allocations: 40.17 kB / 0.9585 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002632/0.8806, allocations: 264.9 kB / 0.9587 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.8806, allocations: 15.38 kB / 0.9588 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.154e-05/0.8807, allocations: 15.78 kB / 0.9588 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003789/0.8811, allocations: 239 kB / 0.959 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.8811, allocations: 1.312 kB / 0.959 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.344e-05/0.8811, allocations: 5.219 kB / 0.959 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.8811, allocations: 5.031 kB / 0.959 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008682/0.882, allocations: 0.759 MB / 0.9598 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001001/0.883, allocations: 0.653 MB / 0.9604 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005374/0.8835, allocations: 309.3 kB / 0.9607 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001807/0.8837, allocations: 110.4 kB / 0.9608 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.509e-05/0.8838, allocations: 17 kB / 0.9608 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003668/0.8842, allocations: 186.8 kB / 0.961 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=35): time 1.643e-06/0.8842, allocations: 0 / 0.961 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of matching and sorting (n=35): time 0.0007206/0.8849, allocations: 371.7 kB / 0.9613 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.859e-05/0.885, allocations: 144.3 kB / 0.9615 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003241/0.8853, allocations: 305 kB / 0.9618 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.541e-05/0.8854, allocations: 31.48 kB / 0.9618 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.293e-05/0.8854, allocations: 134.9 kB / 0.9619 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.84e-05/0.8855, allocations: 121.8 kB / 0.962 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.315e-05/0.8856, allocations: 5.125 kB / 0.962 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.436e-05/0.8856, allocations: 342.3 kB / 0.9624 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.8858, allocations: 79.27 kB / 0.9625 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001874/0.886, allocations: 120.8 kB / 0.9626 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001859/0.8862, allocations: 110.8 kB / 0.9627 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.8862, allocations: 0 / 0.9627 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000457/0.8866, allocations: 283.5 kB / 0.9629 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.8867, allocations: 5.5 kB / 0.9629 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.8867, allocations: 4 kB / 0.963 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.8867, allocations: 1.406 kB / 0.963 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002369/0.8869, allocations: 60.94 kB / 0.963 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.887, allocations: 1.219 kB / 0.963 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001546/0.8871, allocations: 34.7 kB / 0.963 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.204e-05/0.8872, allocations: 16.64 kB / 0.9631 GB, free: 1.266 MB / 0.7169 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 () * Number of clocked 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.0001646/0.8873, allocations: 169.9 kB / 0.9632 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.974e-05/0.8874, allocations: 30.09 kB / 0.9633 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006123/0.888, allocations: 379.6 kB / 0.9636 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.888, allocations: 3.188 kB / 0.9636 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.888, allocations: 0.9688 kB / 0.9636 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.888, allocations: 3.984 kB / 0.9636 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003007/0.8884, allocations: 341.6 kB / 0.9639 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.8884, allocations: 3.953 kB / 0.964 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001828/0.8886, allocations: 62.69 kB / 0.964 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.8886, allocations: 5.531 kB / 0.964 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.8886, allocations: 11.73 kB / 0.964 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.946e-06/0.8886, allocations: 10.42 kB / 0.964 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.8886, allocations: 0 / 0.964 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000468/0.8891, allocations: 325.2 kB / 0.9643 GB, free: 356 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00012/0.8892, allocations: 154.7 kB / 0.9645 GB, free: 200 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.243e-05/0.8893, allocations: 7 kB / 0.9645 GB, free: 196 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/0.8894, allocations: 33.91 kB / 0.9645 GB, free: 180 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.574e-05/0.8895, allocations: 24.28 kB / 0.9646 GB, free: 168 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-05/0.8896, allocations: 17.67 kB / 0.9646 GB, free: 160 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002077/0.8898, allocations: 232.2 kB / 0.9648 GB, free: 12 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8898, allocations: 0 / 0.9648 GB, free: 12 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000368/0.8902, allocations: 67.16 kB / 0.9649 GB, free: 15.99 MB / 0.7325 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) * Number of clocked states: 0 () * 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.001819/0.892, allocations: 1.161 MB / 0.966 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004572/0.8924, allocations: 227.7 kB / 0.9662 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.8925, allocations: 1.375 kB / 0.9662 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002246/0.8927, allocations: 129.3 kB / 0.9663 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003271/0.893, allocations: 42.36 kB / 0.9664 GB, free: 15 MB / 0.7325 GB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002597/0.8956, allocations: 1.547 MB / 0.9679 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003759/0.896, allocations: 0.7626 MB / 0.9686 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003624/0.8964, allocations: 148.5 kB / 0.9688 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001569/0.8966, allocations: 101 kB / 0.9689 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of SimCode: time 4.21e-07/0.8966, allocations: 4 kB / 0.9689 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4165/1.313, allocations: 5.88 MB / 0.9746 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003423/1.313, allocations: 265.5 kB / 0.9749 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.876/3.189, allocations: 1.406 kB / 0.9749 GB, free: 10.04 MB / 0.7325 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