Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.LimitMin,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",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.001756/0.001756, allocations: 98.92 kB / 15.05 MB, free: 1.105 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.002048/0.002048, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.395/2.395, allocations: 223.2 MB / 239.9 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.525/3.525, allocations: 409.2 MB / 0.6838 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005603/0.0005604, allocations: 8 kB / 0.8375 GB, free: 6.566 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.509/1.509, allocations: 146.8 MB / 0.9809 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003083/1.513, allocations: 1.327 MB / 0.9822 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002466/1.515, allocations: 1.078 MB / 0.9832 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.488e-05/1.515, allocations: 4 kB / 0.9832 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0003029/1.516, allocations: 15.86 kB / 0.9832 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003659/1.516, allocations: 55.81 kB / 0.9833 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005605/1.517, allocations: 118.8 kB / 0.9834 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003497/1.517, allocations: 149.7 kB / 0.9835 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001924/1.517, allocations: 16.22 kB / 0.9836 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001403/1.517, allocations: 63.89 kB / 0.9836 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002853/1.518, allocations: 65.3 kB / 0.9837 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.697e-05/1.518, allocations: 12 kB / 0.9837 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002154/1.518, allocations: 51.97 kB / 0.9837 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001447/1.518, allocations: 67.75 kB / 0.9838 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001207/1.518, allocations: 57.58 kB / 0.9839 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004595/1.519, allocations: 201.9 kB / 0.9841 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/1.519, allocations: 0 / 0.9841 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.346e-06/1.519, allocations: 0 / 0.9841 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.178e-05/1.519, allocations: 0 / 0.9841 GB, free: 2.996 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.001492/1.52, allocations: 495.4 kB / 0.9845 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001002/1.52, allocations: 8.031 kB / 0.9845 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001192/1.52, allocations: 58.48 kB / 0.9846 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001057/1.521, allocations: 31.61 kB / 0.9846 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005339/1.521, allocations: 254.6 kB / 0.9849 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.32e-05/1.521, allocations: 12 kB / 0.9849 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.2e-05/1.521, allocations: 12 kB / 0.9849 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005371/1.522, allocations: 236.3 kB / 0.9851 GB, free: 1.793 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/1.522, allocations: 0 / 0.9851 GB, free: 1.793 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.49e-05/1.522, allocations: 4 kB / 0.9851 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.288e-05/1.522, allocations: 4 kB / 0.9851 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001275/1.523, allocations: 0.7334 MB / 0.9858 GB, free: 1.051 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001239/1.524, allocations: 0.5705 MB / 0.9864 GB, free: 436 kB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006727/1.525, allocations: 295.6 kB / 0.9867 GB, free: 132 kB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 6.538e-05/1.525, allocations: 20.25 kB / 0.9867 GB, free: 112 kB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004911/1.526, allocations: 174 kB / 0.9869 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=34): time 1.963e-06/1.526, allocations: 0 / 0.9869 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of matching and sorting (n=34): time 0.0009629/1.527, allocations: 373 kB / 0.9872 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/1.527, allocations: 136.5 kB / 0.9873 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000422/1.527, allocations: 300 kB / 0.9876 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.472e-05/1.527, allocations: 33.7 kB / 0.9877 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001381/1.527, allocations: 120.8 kB / 0.9878 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001509/1.528, allocations: 122.3 kB / 0.9879 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.059e-05/1.528, allocations: 4 kB / 0.9879 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001747/1.528, allocations: 334.8 kB / 0.9882 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001996/1.528, allocations: 79.95 kB / 0.9883 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002727/1.528, allocations: 127.3 kB / 0.9884 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002558/1.528, allocations: 109 kB / 0.9885 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/1.528, allocations: 0 / 0.9885 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006262/1.529, allocations: 277 kB / 0.9888 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/1.529, allocations: 4 kB / 0.9888 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/1.529, allocations: 0 / 0.9888 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.572e-05/1.529, allocations: 0 / 0.9888 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003681/1.53, allocations: 59.91 kB / 0.9888 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/1.53, allocations: 4 kB / 0.9888 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002158/1.53, allocations: 27.83 kB / 0.9889 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.622e-05/1.53, allocations: 19.98 kB / 0.9889 GB, free: 13.75 MB / 0.7481 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 (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.0002466/1.53, allocations: 169.6 kB / 0.9891 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.949e-05/1.53, allocations: 27.62 kB / 0.9891 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009412/1.531, allocations: 384.3 kB / 0.9894 GB, free: 13.17 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/1.531, allocations: 4 kB / 0.9895 GB, free: 13.17 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/1.531, allocations: 0 / 0.9895 GB, free: 13.17 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/1.531, allocations: 0 / 0.9895 GB, free: 13.17 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004768/1.532, allocations: 329.3 kB / 0.9898 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-06/1.532, allocations: 3.953 kB / 0.9898 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002693/1.532, allocations: 59.91 kB / 0.9898 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/1.532, allocations: 0 / 0.9898 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.68e-05/1.532, allocations: 8 kB / 0.9898 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.049e-06/1.532, allocations: 11.94 kB / 0.9898 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/1.532, allocations: 0 / 0.9898 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006283/1.533, allocations: 327.1 kB / 0.9902 GB, free: 12.38 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002173/1.533, allocations: 152.5 kB / 0.9903 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.452e-05/1.533, allocations: 11.98 kB / 0.9903 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001858/1.533, allocations: 13.42 kB / 0.9903 GB, free: 12.19 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.988e-05/1.533, allocations: 27.95 kB / 0.9904 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-05/1.533, allocations: 12 kB / 0.9904 GB, free: 12.15 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003218/1.534, allocations: 233.8 kB / 0.9906 GB, free: 11.92 MB / 0.7481 GB Notification: Performance of sort global known variables: time 4.81e-07/1.534, allocations: 0 / 0.9906 GB, free: 11.92 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004879/1.534, allocations: 56 kB / 0.9906 GB, free: 11.87 MB / 0.7481 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 (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.002626/1.537, allocations: 1.148 MB / 0.9918 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0006277/1.537, allocations: 223.8 kB / 0.992 GB, free: 10.62 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/1.538, allocations: 4 kB / 0.992 GB, free: 10.62 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000286/1.538, allocations: 132.3 kB / 0.9921 GB, free: 10.49 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003397/1.538, allocations: 28.59 kB / 0.9921 GB, free: 10.46 MB / 0.7481 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.003443/1.542, allocations: 1.437 MB / 0.9935 GB, free: 8.969 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004861/1.542, allocations: 0.7613 MB / 0.9943 GB, free: 8.184 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0004545/1.543, allocations: 150.8 kB / 0.9944 GB, free: 8.035 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002016/1.543, allocations: 91.39 kB / 0.9945 GB, free: 7.945 MB / 0.7481 GB Notification: Performance of SimCode: time 8.22e-07/1.543, allocations: 4 kB / 0.9945 GB, free: 7.941 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9732/2.516, allocations: 5.351 MB / 0.9997 GB, free: 2.793 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003758/2.516, allocations: 250.5 kB / 1 GB, free: 2.461 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.205/5.721, allocations: 0 / 1 GB, free: 2.461 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin_fmu --startTime=0 --stopTime=432000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat does not exist to compare? outputFormat=mat