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.001064/0.001064, allocations: 86.72 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.001178/0.001178, 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.432/1.432, 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 10.0.0-master/package.mo): time 2.303/2.303, allocations: 409.4 MB / 0.684 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003012/0.0003013, allocations: 15.92 kB / 0.8378 GB, free: 6.523 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5286/0.5289, allocations: 146.8 MB / 0.9811 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.001548/0.5305, allocations: 1.323 MB / 0.9824 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001261/0.5317, allocations: 1.093 MB / 0.9835 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.005e-05/0.5318, allocations: 0 / 0.9835 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001573/0.532, allocations: 27.84 kB / 0.9835 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001781/0.5321, allocations: 55.83 kB / 0.9836 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003008/0.5325, allocations: 125.3 kB / 0.9837 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001899/0.5327, allocations: 189.6 kB / 0.9839 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.7e-05/0.5327, allocations: 20.22 kB / 0.9839 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.773e-05/0.5328, allocations: 63.83 kB / 0.984 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001475/0.533, allocations: 87.77 kB / 0.984 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.281e-05/0.533, allocations: 8 kB / 0.9841 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.5331, allocations: 59.98 kB / 0.9841 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.868e-05/0.5332, allocations: 75.73 kB / 0.9842 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.701e-05/0.5333, allocations: 57.58 kB / 0.9842 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002037/0.5335, allocations: 197.9 kB / 0.9844 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.5335, allocations: 0 / 0.9844 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5335, allocations: 0 / 0.9844 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.236e-06/0.5335, allocations: 0 / 0.9844 GB, free: 2.902 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.0005946/0.5341, allocations: 499.3 kB / 0.9849 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.057e-05/0.5341, allocations: 12.03 kB / 0.9849 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.692e-05/0.5342, allocations: 46.55 kB / 0.985 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.142e-05/0.5342, allocations: 31.62 kB / 0.985 GB, free: 2.266 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002296/0.5345, allocations: 258.6 kB / 0.9852 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.5345, allocations: 8 kB / 0.9852 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.215e-05/0.5345, allocations: 20 kB / 0.9853 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002995/0.5348, allocations: 220.4 kB / 0.9855 GB, free: 1.711 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.5348, allocations: 4 kB / 0.9855 GB, free: 1.707 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.806e-05/0.5349, allocations: 7.938 kB / 0.9855 GB, free: 1.699 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.5349, allocations: 4 kB / 0.9855 GB, free: 1.695 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007556/0.5356, allocations: 0.7373 MB / 0.9862 GB, free: 0.957 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006695/0.5363, allocations: 0.5667 MB / 0.9868 GB, free: 344 kB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004177/0.5367, allocations: 299.6 kB / 0.987 GB, free: 36 kB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001515/0.5369, allocations: 101.4 kB / 0.9871 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 4.095e-05/0.537, allocations: 20.23 kB / 0.9872 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002761/0.5372, allocations: 176.9 kB / 0.9873 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=34): time 1.482e-06/0.5372, allocations: 0 / 0.9873 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of matching and sorting (n=34): time 0.0005563/0.5378, allocations: 377 kB / 0.9877 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.435e-05/0.5379, allocations: 132.5 kB / 0.9878 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002515/0.5381, allocations: 292.1 kB / 0.9881 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/0.5382, allocations: 41.62 kB / 0.9881 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 7.4e-05/0.5383, allocations: 120.8 kB / 0.9882 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 7.766e-05/0.5383, allocations: 110.3 kB / 0.9884 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.172e-05/0.5384, allocations: 4 kB / 0.9884 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.5385, allocations: 342.8 kB / 0.9887 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001218/0.5386, allocations: 83.95 kB / 0.9888 GB, free: 14.19 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001627/0.5388, allocations: 127.3 kB / 0.9889 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001487/0.5389, allocations: 101 kB / 0.989 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.5389, allocations: 0 / 0.989 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003676/0.5393, allocations: 273 kB / 0.9892 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.5393, allocations: 4 kB / 0.9892 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.5393, allocations: 0 / 0.9892 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.5394, allocations: 7.984 kB / 0.9893 GB, free: 13.67 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001909/0.5396, allocations: 67.91 kB / 0.9893 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.5396, allocations: 0 / 0.9893 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001293/0.5397, allocations: 27.83 kB / 0.9893 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.016e-05/0.5397, allocations: 8 kB / 0.9894 GB, free: 13.57 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.0001397/0.5399, allocations: 165.7 kB / 0.9895 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.437e-05/0.5399, allocations: 27.62 kB / 0.9895 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006044/0.5405, allocations: 392.3 kB / 0.9899 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.5405, allocations: 4.047 kB / 0.9899 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.5406, allocations: 7.969 kB / 0.9899 GB, free: 12.97 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.5406, allocations: 0 / 0.9899 GB, free: 12.97 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002622/0.5408, allocations: 329.3 kB / 0.9902 GB, free: 12.6 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.5408, allocations: 0 / 0.9902 GB, free: 12.6 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001558/0.541, allocations: 55.91 kB / 0.9903 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.541, allocations: 4 kB / 0.9903 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.862e-05/0.541, allocations: 11.98 kB / 0.9903 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.541, allocations: 4 kB / 0.9903 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.5411, allocations: 3.938 kB / 0.9903 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003923/0.5415, allocations: 319.1 kB / 0.9906 GB, free: 12.19 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001187/0.5416, allocations: 156.5 kB / 0.9908 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.287e-05/0.5416, allocations: 4 kB / 0.9908 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.5417, allocations: 21.41 kB / 0.9908 GB, free: 12 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.672e-05/0.5418, allocations: 27.97 kB / 0.9908 GB, free: 11.97 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-05/0.5418, allocations: 15.98 kB / 0.9908 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.00018/0.542, allocations: 225.8 kB / 0.991 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.542, allocations: 0 / 0.991 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002544/0.5423, allocations: 63.98 kB / 0.9911 GB, free: 11.67 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.001324/0.5436, allocations: 1.162 MB / 0.9922 GB, free: 10.63 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003334/0.544, allocations: 215.8 kB / 0.9925 GB, free: 10.42 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.544, allocations: 0 / 0.9925 GB, free: 10.42 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001619/0.5441, allocations: 136.3 kB / 0.9926 GB, free: 10.29 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002131/0.5444, allocations: 43.39 kB / 0.9926 GB, free: 10.25 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.001839/0.5462, allocations: 1.458 MB / 0.994 GB, free: 8.734 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000307/0.5465, allocations: 0.7652 MB / 0.9948 GB, free: 7.945 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000292/0.5468, allocations: 138.9 kB / 0.9949 GB, free: 7.809 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001194/0.547, allocations: 95.39 kB / 0.995 GB, free: 7.715 MB / 0.7481 GB Notification: Performance of SimCode: time 2.71e-07/0.547, allocations: 4 kB / 0.995 GB, free: 7.711 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.073/1.62, allocations: 5.373 MB / 1 GB, free: 2.543 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001673/1.62, allocations: 256.8 kB / 1.001 GB, free: 2.207 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.623/3.243, allocations: 0 / 1.001 GB, free: 2.207 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