Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_H.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_H,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_Shade_Validation_Shade_H",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_H,fileNamePrefix="Buildings_8_0_0_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/Buildings 8.0.0/package.mo): time 2.406/2.406, allocations: 284.9 MB / 292.4 MB, free: 10.52 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001481/0.001481, allocations: 184.9 kB / 360.6 MB, free: 7.281 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.137/2.137, allocations: 205.2 MB / 0.6191 GB, free: 12.2 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001184/0.001183, allocations: 93.45 kB / 0.7321 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.117e-05/3.12e-05, allocations: 8 kB / 0.8509 GB, free: 3.34 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8943/0.8944, allocations: 115.3 MB / 0.9634 GB, free: 78.5 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2451/1.14, allocations: 136.9 MB / 1.097 GB, free: 3.531 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002608/1.14, allocations: 74.41 kB / 1.097 GB, free: 3.461 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004485/1.144, allocations: 1.071 MB / 1.098 GB, free: 2.418 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.553e-06/1.144, allocations: 0.5625 kB / 1.098 GB, free: 2.418 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.076e-06/1.144, allocations: 0 / 1.098 GB, free: 2.418 MB / 0.698 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.0004732/1.145, allocations: 356.2 kB / 1.099 GB, free: 2.027 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.685e-05/1.145, allocations: 8.531 kB / 1.099 GB, free: 2.02 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.721e-05/1.145, allocations: 5.734 kB / 1.099 GB, free: 2.016 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001819/1.145, allocations: 188.4 kB / 1.099 GB, free: 1.793 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/1.145, allocations: 7.469 kB / 1.099 GB, free: 1.789 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.132e-05/1.145, allocations: 3.438 kB / 1.099 GB, free: 1.789 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001053/1.145, allocations: 20 kB / 1.099 GB, free: 1.77 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001244/1.146, allocations: 47.22 kB / 1.099 GB, free: 1.719 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/1.146, allocations: 0 / 1.099 GB, free: 1.719 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/1.146, allocations: 0 / 1.099 GB, free: 1.719 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/1.146, allocations: 1.594 kB / 1.099 GB, free: 1.719 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005481/1.146, allocations: 284 kB / 1.099 GB, free: 1.406 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004017/1.147, allocations: 75.48 kB / 1.099 GB, free: 1.328 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.37e-05/1.147, allocations: 12.92 kB / 1.099 GB, free: 1.312 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/1.147, allocations: 0 / 1.099 GB, free: 1.312 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/1.147, allocations: 39.78 kB / 1.099 GB, free: 1.266 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.703e-06/1.147, allocations: 0 / 1.099 GB, free: 1.266 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0002067/1.147, allocations: 54.5 kB / 1.099 GB, free: 1.207 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.357e-05/1.147, allocations: 53.12 kB / 1.099 GB, free: 1.145 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/1.147, allocations: 109 kB / 1.099 GB, free: 1.031 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.695e-05/1.147, allocations: 25.7 kB / 1.099 GB, free: 1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.949e-05/1.147, allocations: 92.05 kB / 1.1 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.641e-05/1.147, allocations: 14.58 kB / 1.1 GB, free: 0.8945 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.941e-06/1.147, allocations: 0 / 1.1 GB, free: 0.8945 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000126/1.147, allocations: 318.8 kB / 1.1 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.898e-05/1.148, allocations: 8 kB / 1.1 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.977e-05/1.148, allocations: 26.52 kB / 1.1 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.278e-05/1.148, allocations: 23.83 kB / 1.1 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/1.148, allocations: 0 / 1.1 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001326/1.148, allocations: 50.62 kB / 1.1 GB, free: 476 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/1.148, allocations: 4 kB / 1.1 GB, free: 472 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/1.148, allocations: 4 kB / 1.1 GB, free: 468 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/1.148, allocations: 0 / 1.1 GB, free: 468 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/1.148, allocations: 7.938 kB / 1.1 GB, free: 460 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/1.148, allocations: 0 / 1.1 GB, free: 460 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001251/1.148, allocations: 19.95 kB / 1.1 GB, free: 440 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/1.148, allocations: 4 kB / 1.1 GB, free: 436 kB / 0.698 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 () * 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 9.357e-05/1.148, allocations: 112.7 kB / 1.1 GB, free: 316 kB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001262/1.148, allocations: 49.59 kB / 1.1 GB, free: 260 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.48e-05/1.148, allocations: 7.906 kB / 1.1 GB, free: 252 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.148e-05/1.149, allocations: 9.797 kB / 1.1 GB, free: 236 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/1.149, allocations: 2.156 kB / 1.1 GB, free: 236 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/1.149, allocations: 4 kB / 1.1 GB, free: 232 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/1.149, allocations: 7.938 kB / 1.1 GB, free: 224 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002048/1.149, allocations: 154.3 kB / 1.1 GB, free: 32 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/1.149, allocations: 0 / 1.1 GB, free: 32 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.861e-05/1.149, allocations: 15.8 kB / 1.1 GB, free: 20 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/1.149, allocations: 0 / 1.1 GB, free: 20 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/1.149, allocations: 4 kB / 1.1 GB, free: 16 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/1.149, allocations: 0 / 1.1 GB, free: 16 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/1.149, allocations: 0 / 1.1 GB, free: 16 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001954/1.149, allocations: 147.5 kB / 1.1 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.255e-05/1.149, allocations: 85.02 kB / 1.101 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.446e-05/1.149, allocations: 2.859 kB / 1.101 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/1.149, allocations: 11.98 kB / 1.101 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.351e-05/1.149, allocations: 3.984 kB / 1.101 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.115e-05/1.15, allocations: 4 kB / 1.101 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.346e-05/1.15, allocations: 98.22 kB / 1.101 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.21e-07/1.15, allocations: 0 / 1.101 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003023/1.15, allocations: 8 kB / 1.101 GB, free: 15.63 MB / 0.7136 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) * 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.0004911/1.15, allocations: 0.6849 MB / 1.101 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001479/1.151, allocations: 24 kB / 1.101 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/1.151, allocations: 0 / 1.101 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.206e-05/1.151, allocations: 15.98 kB / 1.101 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002699/1.151, allocations: 9.719 kB / 1.101 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005406/1.151, allocations: 117.3 kB / 1.102 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002913/1.152, allocations: 0.6885 MB / 1.102 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.68e-05/1.152, allocations: 4 kB / 1.102 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.803e-05/1.152, allocations: 19.42 kB / 1.102 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of SimCode: time 1.052e-06/1.152, allocations: 0 / 1.102 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0387/1.191, allocations: 1.123 MB / 1.103 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002125/1.191, allocations: 144.8 kB / 1.103 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.473/3.664, allocations: 0 / 1.103 GB, free: 12.71 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_Shade_Validation_Shade_H_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_Shade_Validation_Shade_H.fmu > Buildings_8.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1)