Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.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.Controls.OBC.Shade.Validation.Shade_T,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_Shade_Validation_Shade_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_T,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_Shade_Validation_Shade_T",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.0009286/0.0009285, allocations: 100.2 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.0009842/0.0009842, allocations: 177.3 kB / 15.94 MB, free: 228 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.414/1.414, allocations: 223.2 MB / 239.9 MB, free: 5.312 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.399/2.399, allocations: 390.3 MB / 0.6653 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003581/0.0003581, allocations: 8 kB / 0.8146 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8344/0.8348, allocations: 142.3 MB / 0.9536 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.0009439/0.8358, allocations: 423.2 kB / 0.954 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009501/0.8368, allocations: 0.8332 MB / 0.9548 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.027e-05/0.8368, allocations: 0 / 0.9548 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.92e-05/0.8369, allocations: 4.906 kB / 0.9548 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.524e-05/0.837, allocations: 10.06 kB / 0.9548 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000156/0.8371, allocations: 19.16 kB / 0.9548 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.711e-05/0.8372, allocations: 31.06 kB / 0.9549 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.8373, allocations: 27.72 kB / 0.9549 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.8374, allocations: 16.69 kB / 0.9549 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.662e-05/0.8375, allocations: 18.77 kB / 0.9549 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.413e-05/0.8375, allocations: 1.25 kB / 0.9549 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.468e-05/0.8376, allocations: 2.344 kB / 0.9549 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.447e-05/0.8376, allocations: 13.19 kB / 0.9549 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.598e-05/0.8376, allocations: 33.42 kB / 0.955 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.321e-05/0.8377, allocations: 44.47 kB / 0.955 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.8377, allocations: 0 / 0.955 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.713e-06/0.8377, allocations: 0 / 0.955 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.8377, allocations: 3.938 kB / 0.955 GB, free: 6.879 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000412/0.8381, allocations: 366.3 kB / 0.9554 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.8382, allocations: 8.906 kB / 0.9554 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.207e-05/0.8382, allocations: 31.97 kB / 0.9554 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.597e-05/0.8383, allocations: 19.48 kB / 0.9554 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002241/0.8385, allocations: 196.6 kB / 0.9556 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.8385, allocations: 1.594 kB / 0.9556 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.458e-05/0.8385, allocations: 6.906 kB / 0.9556 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001337/0.8387, allocations: 60.84 kB / 0.9557 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.8387, allocations: 0 / 0.9557 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.8387, allocations: 0.875 kB / 0.9557 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.8387, allocations: 5.016 kB / 0.9557 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001078/0.8388, allocations: 39.81 kB / 0.9557 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003799/0.8392, allocations: 296.4 kB / 0.956 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002846/0.8395, allocations: 87.23 kB / 0.9561 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.8395, allocations: 1.062 kB / 0.9561 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.61e-05/0.8396, allocations: 43.58 kB / 0.9561 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.8396, allocations: 0 / 0.9561 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0002626/0.8398, allocations: 75.86 kB / 0.9562 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.449e-05/0.8399, allocations: 51.41 kB / 0.9563 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.033e-05/0.84, allocations: 121.8 kB / 0.9564 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.84, allocations: 30.7 kB / 0.9564 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.898e-05/0.84, allocations: 99.08 kB / 0.9565 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.428e-05/0.8401, allocations: 4.75 kB / 0.9565 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-06/0.8401, allocations: 1.031 kB / 0.9565 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.378e-05/0.8401, allocations: 320 kB / 0.9568 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.448e-05/0.8402, allocations: 17.45 kB / 0.9568 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.108e-05/0.8403, allocations: 29.5 kB / 0.9568 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.831e-05/0.8403, allocations: 19.17 kB / 0.9569 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.8403, allocations: 0 / 0.9569 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001285/0.8405, allocations: 74.55 kB / 0.9569 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.8405, allocations: 9.234 kB / 0.9569 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.8405, allocations: 0 / 0.9569 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.8405, allocations: 1.516 kB / 0.9569 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.978e-05/0.8406, allocations: 9.219 kB / 0.957 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.8406, allocations: 0 / 0.957 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.376e-05/0.8406, allocations: 13.77 kB / 0.957 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.8407, allocations: 0 / 0.957 GB, free: 4.941 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: 2 ($PRE.shaT.hys.y,shaT.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 6.882e-05/0.8407, allocations: 117.7 kB / 0.9571 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.336e-05/0.8408, allocations: 2.812 kB / 0.9571 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.672e-05/0.8408, allocations: 17.34 kB / 0.9571 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.8408, allocations: 5.5 kB / 0.9571 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.8408, allocations: 3.938 kB / 0.9571 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-06/0.8408, allocations: 0 / 0.9571 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001334/0.8409, allocations: 175.6 kB / 0.9573 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.841, allocations: 0 / 0.9573 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.332e-05/0.841, allocations: 10.27 kB / 0.9573 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.841, allocations: 3.938 kB / 0.9573 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.325e-06/0.841, allocations: 5.406 kB / 0.9573 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.841, allocations: 3.953 kB / 0.9573 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.841, allocations: 0 / 0.9573 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001377/0.8412, allocations: 158.6 kB / 0.9574 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.499e-05/0.8412, allocations: 82.2 kB / 0.9575 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.8412, allocations: 1.156 kB / 0.9575 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.696e-05/0.8413, allocations: 10.14 kB / 0.9575 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.95e-05/0.8414, allocations: 11.44 kB / 0.9575 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.8414, allocations: 9.312 kB / 0.9576 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.106e-05/0.8414, allocations: 97.2 kB / 0.9577 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8415, allocations: 0 / 0.9577 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002164/0.8417, allocations: 7.344 kB / 0.9577 GB, free: 4.215 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: 1 (shaT.hys.y) * Number of discrete states: 1 (shaT.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0003158/0.842, allocations: 0.7007 MB / 0.9583 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001489/0.8422, allocations: 39.06 kB / 0.9584 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.8422, allocations: 0 / 0.9584 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.502e-05/0.8422, allocations: 15.47 kB / 0.9584 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002013/0.8424, allocations: 18.53 kB / 0.9584 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007517/0.8432, allocations: 0.5029 MB / 0.9589 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001224/0.8433, allocations: 0.693 MB / 0.9596 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.896e-05/0.8434, allocations: 2.688 kB / 0.9596 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.016e-05/0.8434, allocations: 18.2 kB / 0.9596 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.8434, allocations: 0 / 0.9596 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01105/0.8545, allocations: 1.463 MB / 0.961 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001394/0.8547, allocations: 177.4 kB / 0.9612 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.674/2.529, allocations: 5.375 kB / 0.9612 GB, free: 1.406 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_Shade_Validation_Shade_T_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_Shade_Validation_Shade_T.fmu > Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat does not exist to compare? outputFormat=mat