Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.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_H,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_Shade_Validation_Shade_H",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_H,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_Shade_Validation_Shade_H",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.001046/0.001047, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.0009719/0.0009723, allocations: 172.7 kB / 15.95 MB, free: 208 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.423/1.423, allocations: 223.2 MB / 240 MB, free: 5.242 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.448/2.448, allocations: 390.4 MB / 0.6655 GB, free: 2.863 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003469/0.0003469, allocations: 8 kB / 0.8149 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7863/0.7867, allocations: 142.3 MB / 0.9538 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.001103/0.7878, allocations: 425.5 kB / 0.9543 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00139/0.7893, allocations: 0.8282 MB / 0.9551 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.952e-05/0.7893, allocations: 0 / 0.9551 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.275e-05/0.7894, allocations: 3.938 kB / 0.9551 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001147/0.7895, allocations: 10.11 kB / 0.9551 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001813/0.7897, allocations: 14.67 kB / 0.9551 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001059/0.7898, allocations: 55.75 kB / 0.9551 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.7899, allocations: 11.25 kB / 0.9552 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000126/0.7901, allocations: 23.81 kB / 0.9552 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.724e-05/0.7902, allocations: 19.92 kB / 0.9552 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.7902, allocations: 1.75 kB / 0.9552 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.442e-05/0.7902, allocations: 0.9375 kB / 0.9552 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.18e-05/0.7903, allocations: 13.17 kB / 0.9552 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.997e-05/0.7903, allocations: 29.89 kB / 0.9552 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001107/0.7904, allocations: 59.67 kB / 0.9553 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.7904, allocations: 0 / 0.9553 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.515e-06/0.7904, allocations: 0 / 0.9553 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.7905, allocations: 1.188 kB / 0.9553 GB, free: 6.941 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.0004938/0.791, allocations: 365.8 kB / 0.9556 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/0.791, allocations: 9.281 kB / 0.9557 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.071e-05/0.7911, allocations: 31.62 kB / 0.9557 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.176e-05/0.7911, allocations: 15.25 kB / 0.9557 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002947/0.7914, allocations: 192.9 kB / 0.9559 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.229e-05/0.7915, allocations: 6.125 kB / 0.9559 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.548e-05/0.7915, allocations: 2.188 kB / 0.9559 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001671/0.7917, allocations: 57.8 kB / 0.9559 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.7917, allocations: 0 / 0.9559 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.7917, allocations: 0 / 0.9559 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.7917, allocations: 5.266 kB / 0.956 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001321/0.7919, allocations: 40.05 kB / 0.956 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004821/0.7923, allocations: 296.3 kB / 0.9563 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003466/0.7927, allocations: 87.38 kB / 0.9564 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.801e-05/0.7928, allocations: 25.72 kB / 0.9564 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.7928, allocations: 5.359 kB / 0.9564 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.651e-05/0.7928, allocations: 31.97 kB / 0.9564 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.553e-06/0.7929, allocations: 0 / 0.9564 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.000312/0.7932, allocations: 74.72 kB / 0.9565 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.806e-05/0.7932, allocations: 52.22 kB / 0.9565 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.7933, allocations: 120.9 kB / 0.9567 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.7934, allocations: 30.8 kB / 0.9567 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.315e-05/0.7934, allocations: 108.8 kB / 0.9568 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.022e-05/0.7934, allocations: 4.812 kB / 0.9568 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.772e-06/0.7935, allocations: 1.156 kB / 0.9568 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.57e-05/0.7935, allocations: 324.2 kB / 0.9571 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.712e-05/0.7936, allocations: 17.92 kB / 0.9571 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.15e-05/0.7937, allocations: 33.52 kB / 0.9571 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.324e-05/0.7938, allocations: 12.25 kB / 0.9572 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.7938, allocations: 1.062 kB / 0.9572 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001885/0.794, allocations: 70.86 kB / 0.9572 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.794, allocations: 8.234 kB / 0.9572 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.794, allocations: 5.406 kB / 0.9572 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.7941, allocations: 0 / 0.9572 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.426e-05/0.7941, allocations: 9.266 kB / 0.9573 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.7941, allocations: 1.031 kB / 0.9573 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.653e-05/0.7942, allocations: 16.09 kB / 0.9573 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.7942, allocations: 5.5 kB / 0.9573 GB, free: 4.984 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.shaH.hys.y,shaH.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 8.1e-05/0.7943, allocations: 114 kB / 0.9574 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.437e-05/0.7944, allocations: 9.406 kB / 0.9574 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.944e-05/0.7944, allocations: 9.625 kB / 0.9574 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.7944, allocations: 1.5 kB / 0.9574 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.7944, allocations: 0 / 0.9574 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.7945, allocations: 3.984 kB / 0.9574 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000191/0.7947, allocations: 180.1 kB / 0.9576 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.7947, allocations: 1.031 kB / 0.9576 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.943e-05/0.7947, allocations: 4.719 kB / 0.9576 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.678e-06/0.7947, allocations: 1.188 kB / 0.9576 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.7948, allocations: 0 / 0.9576 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.7948, allocations: 7.953 kB / 0.9576 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.7948, allocations: 5.328 kB / 0.9576 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001794/0.795, allocations: 153.6 kB / 0.9577 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.914e-05/0.795, allocations: 87.38 kB / 0.9578 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.356e-05/0.795, allocations: 1.219 kB / 0.9578 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.7952, allocations: 9.969 kB / 0.9578 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.15e-05/0.7952, allocations: 16 kB / 0.9579 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/0.7952, allocations: 3.984 kB / 0.9579 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.532e-05/0.7953, allocations: 89.31 kB / 0.9579 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7953, allocations: 3.938 kB / 0.9579 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003939/0.7957, allocations: 10.8 kB / 0.958 GB, free: 4.266 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 (shaH.hys.y) * Number of discrete states: 1 (shaH.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.0004792/0.7962, allocations: 0.6967 MB / 0.9586 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001961/0.7964, allocations: 41.14 kB / 0.9587 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.7965, allocations: 3.938 kB / 0.9587 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.016e-05/0.7965, allocations: 21.55 kB / 0.9587 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004271/0.797, allocations: 8.312 kB / 0.9587 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.7981, allocations: 0.5015 MB / 0.9592 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001696/0.7983, allocations: 0.6878 MB / 0.9599 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.77e-05/0.7984, allocations: 3.125 kB / 0.9599 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.242e-05/0.7984, allocations: 25.8 kB / 0.9599 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of SimCode: time 4.81e-07/0.7985, allocations: 0 / 0.9599 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01754/0.816, allocations: 1.48 MB / 0.9613 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001812/0.8162, allocations: 185 kB / 0.9615 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.767/2.583, allocations: 0 / 0.9615 GB, free: 1.457 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_Shade_Validation_Shade_H_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_Shade_Validation_Shade_H.fmu > Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat does not exist to compare? outputFormat=mat