Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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.LimitMin,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="Buildings_9_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.001234/0.001234, allocations: 98.83 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.00173/0.001731, 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 1.448/1.448, allocations: 223.2 MB / 239.9 MB, free: 5.465 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.359/2.359, allocations: 390.3 MB / 0.6653 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003495/0.0003495, allocations: 11.94 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7333/0.7337, allocations: 142.3 MB / 0.9536 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.001756/0.7355, allocations: 1.319 MB / 0.9549 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001404/0.7369, allocations: 1.073 MB / 0.9559 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.995e-05/0.737, allocations: 5.406 kB / 0.9559 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002074/0.7372, allocations: 23.03 kB / 0.956 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000236/0.7375, allocations: 51.95 kB / 0.956 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003027/0.7378, allocations: 121.3 kB / 0.9561 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001948/0.738, allocations: 142.9 kB / 0.9563 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.7381, allocations: 16.97 kB / 0.9563 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.337e-05/0.7382, allocations: 65.58 kB / 0.9563 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001988/0.7384, allocations: 64.7 kB / 0.9564 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.464e-05/0.7384, allocations: 9.219 kB / 0.9564 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001212/0.7386, allocations: 50.67 kB / 0.9565 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.861e-05/0.7386, allocations: 64.38 kB / 0.9565 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.656e-05/0.7387, allocations: 61.72 kB / 0.9566 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002238/0.7389, allocations: 199.3 kB / 0.9568 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.7389, allocations: 0 / 0.9568 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.462e-06/0.739, allocations: 1.125 kB / 0.9568 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.712e-06/0.739, allocations: 0 / 0.9568 GB, free: 5.676 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0006511/0.7396, allocations: 0.4916 MB / 0.9572 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.7397, allocations: 9.094 kB / 0.9573 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.831e-05/0.7397, allocations: 52.02 kB / 0.9573 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.217e-05/0.7398, allocations: 28.61 kB / 0.9573 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002534/0.7401, allocations: 251.9 kB / 0.9576 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.7401, allocations: 14.22 kB / 0.9576 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.859e-05/0.7401, allocations: 16.94 kB / 0.9576 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003165/0.7404, allocations: 211.7 kB / 0.9578 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.7405, allocations: 0 / 0.9578 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.574e-05/0.7405, allocations: 14.64 kB / 0.9578 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.7405, allocations: 3.969 kB / 0.9578 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008631/0.7414, allocations: 0.7375 MB / 0.9585 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007651/0.7421, allocations: 0.5656 MB / 0.9591 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004585/0.7426, allocations: 291.8 kB / 0.9594 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.211e-05/0.7427, allocations: 21.22 kB / 0.9594 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003105/0.743, allocations: 175.2 kB / 0.9596 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=34): time 1.673e-06/0.743, allocations: 0 / 0.9596 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of matching and sorting (n=34): time 0.0006862/0.7437, allocations: 375.9 kB / 0.9599 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.202e-05/0.7438, allocations: 132.8 kB / 0.96 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003057/0.7441, allocations: 298.5 kB / 0.9603 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/0.7441, allocations: 35.61 kB / 0.9604 GB, free: 3 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.195e-05/0.7442, allocations: 125.7 kB / 0.9605 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.432e-05/0.7443, allocations: 120.9 kB / 0.9606 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.193e-05/0.7443, allocations: 4.938 kB / 0.9606 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.667e-05/0.7444, allocations: 335 kB / 0.9609 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.7445, allocations: 82.83 kB / 0.961 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001925/0.7447, allocations: 131 kB / 0.9611 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001739/0.7449, allocations: 105.2 kB / 0.9612 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.7449, allocations: 0 / 0.9612 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004477/0.7454, allocations: 273.4 kB / 0.9615 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.7454, allocations: 8.953 kB / 0.9615 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.7454, allocations: 0 / 0.9615 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.7454, allocations: 2.406 kB / 0.9615 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002441/0.7457, allocations: 63.25 kB / 0.9616 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.7457, allocations: 1.156 kB / 0.9616 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001565/0.7459, allocations: 26.48 kB / 0.9616 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.902e-05/0.7459, allocations: 13.09 kB / 0.9616 GB, free: 2.09 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 (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.0001502/0.7461, allocations: 165.1 kB / 0.9618 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.959e-05/0.7461, allocations: 23.59 kB / 0.9618 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006812/0.7468, allocations: 390.6 kB / 0.9622 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.7468, allocations: 3.188 kB / 0.9622 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.84e-06/0.7468, allocations: 0 / 0.9622 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.74e-06/0.7468, allocations: 1.219 kB / 0.9622 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002971/0.7471, allocations: 331.1 kB / 0.9625 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.7471, allocations: 1.125 kB / 0.9625 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001933/0.7473, allocations: 56.25 kB / 0.9625 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.7473, allocations: 1.719 kB / 0.9625 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.7474, allocations: 13.06 kB / 0.9625 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.7474, allocations: 9.125 kB / 0.9626 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.7474, allocations: 3.938 kB / 0.9626 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004146/0.7478, allocations: 318.9 kB / 0.9629 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001303/0.748, allocations: 154.9 kB / 0.963 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.167e-05/0.748, allocations: 6.531 kB / 0.963 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001428/0.7481, allocations: 17.08 kB / 0.963 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.009e-05/0.7482, allocations: 28.11 kB / 0.9631 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.405e-05/0.7483, allocations: 12.62 kB / 0.9631 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001977/0.7485, allocations: 238.3 kB / 0.9633 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7485, allocations: 5.438 kB / 0.9633 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003228/0.7488, allocations: 59.06 kB / 0.9634 GB, free: 0.832 MB / 0.7169 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.001518/0.7503, allocations: 1.146 MB / 0.9645 GB, free: 16 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000488/0.7508, allocations: 226.6 kB / 0.9647 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.7508, allocations: 0.9688 kB / 0.9647 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002136/0.7511, allocations: 129.1 kB / 0.9648 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002257/0.7513, allocations: 27.98 kB / 0.9648 GB, free: 15.86 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.002465/0.7538, allocations: 1.455 MB / 0.9663 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004559/0.7542, allocations: 0.7677 MB / 0.967 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003495/0.7546, allocations: 139.2 kB / 0.9671 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001538/0.7548, allocations: 100.7 kB / 0.9672 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of SimCode: time 2.6e-07/0.7548, allocations: 0 / 0.9672 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3994/1.154, allocations: 5.36 MB / 0.9725 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001838/1.154, allocations: 248.3 kB / 0.9727 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.695/2.849, allocations: 1.406 kB / 0.9727 GB, free: 11.27 MB / 0.7325 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin_fmu --startTime=0 --stopTime=432000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat does not exist to compare? outputFormat=mat