Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_H,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_Shade_Validation_Shade_H",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_H,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.411/1.411, allocations: 249.5 MB / 257 MB, free: 6.93 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001039/0.001039, allocations: 188.3 kB / 316.3 MB, free: 3.207 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.684/1.684, allocations: 205.3 MB / 0.5671 GB, free: 15.84 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009232/0.0009233, allocations: 89.73 kB / 0.6714 GB, free: 4.961 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.089e-05/2.119e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2284/0.2285, allocations: 106.3 MB / 0.8853 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7457/0.9742, allocations: 132 MB / 1.014 GB, free: 5.383 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002353/0.9745, allocations: 66.33 kB / 1.014 GB, free: 5.348 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002866/0.9774, allocations: 1.092 MB / 1.015 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.124e-06/0.9774, allocations: 0 / 1.015 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.9775, allocations: 0 / 1.015 GB, free: 4.387 MB / 0.6355 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.0003256/0.9778, allocations: 359.4 kB / 1.016 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.9778, allocations: 12.03 kB / 1.016 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.967e-05/0.9779, allocations: 11.89 kB / 1.016 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/0.978, allocations: 177.9 kB / 1.016 GB, free: 3.762 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.978, allocations: 4 kB / 1.016 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.446e-05/0.9781, allocations: 0 / 1.016 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.86e-05/0.9781, allocations: 18.44 kB / 1.016 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.234e-05/0.9782, allocations: 47.81 kB / 1.016 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.9782, allocations: 0 / 1.016 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.9783, allocations: 0 / 1.016 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.9783, allocations: 0 / 1.016 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003766/0.9786, allocations: 284.6 kB / 1.016 GB, free: 3.406 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002471/0.9789, allocations: 77.09 kB / 1.016 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.734e-05/0.9789, allocations: 14.86 kB / 1.016 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.56e-05/0.979, allocations: 0 / 1.016 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/0.979, allocations: 30.56 kB / 1.016 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.979, allocations: 0 / 1.016 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001702/0.9792, allocations: 56.31 kB / 1.016 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/0.9792, allocations: 59.41 kB / 1.016 GB, free: 3.152 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.9793, allocations: 108.3 kB / 1.017 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.9794, allocations: 25.7 kB / 1.017 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.437e-05/0.9794, allocations: 90.39 kB / 1.017 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.682e-05/0.9794, allocations: 7.891 kB / 1.017 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.22e-06/0.9795, allocations: 0 / 1.017 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.9796, allocations: 322 kB / 1.017 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.209e-05/0.9796, allocations: 7.438 kB / 1.017 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.001e-05/0.9797, allocations: 32.64 kB / 1.017 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.087e-05/0.9797, allocations: 14.47 kB / 1.017 GB, free: 2.559 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.9797, allocations: 0 / 1.017 GB, free: 2.559 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.328e-05/0.9798, allocations: 60.97 kB / 1.017 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.9798, allocations: 4 kB / 1.017 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.9798, allocations: 0 / 1.017 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.9798, allocations: 0.875 kB / 1.017 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.672e-05/0.9799, allocations: 11.94 kB / 1.017 GB, free: 2.484 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.9799, allocations: 4.031 kB / 1.017 GB, free: 2.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.337e-05/0.98, allocations: 15.92 kB / 1.017 GB, free: 2.465 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.98, allocations: 0 / 1.017 GB, free: 2.465 MB / 0.6355 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 7.493e-05/0.9801, allocations: 112.9 kB / 1.017 GB, free: 2.348 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.516e-05/0.9802, allocations: 52.47 kB / 1.017 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.192e-05/0.9802, allocations: 4 kB / 1.017 GB, free: 2.293 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.544e-05/0.9803, allocations: 15.77 kB / 1.017 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.9803, allocations: 4 kB / 1.017 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.9803, allocations: 3.938 kB / 1.017 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.9803, allocations: 3.953 kB / 1.017 GB, free: 2.262 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001487/0.9805, allocations: 152.8 kB / 1.017 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.9805, allocations: 0 / 1.017 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.498e-05/0.9805, allocations: 7.984 kB / 1.017 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.9805, allocations: 0 / 1.017 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.9805, allocations: 0 / 1.017 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.9805, allocations: 4 kB / 1.017 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.9806, allocations: 0 / 1.017 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001294/0.9807, allocations: 152.9 kB / 1.018 GB, free: 1.914 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.949e-05/0.9808, allocations: 85.02 kB / 1.018 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.9808, allocations: 0 / 1.018 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.855e-05/0.9809, allocations: 7.984 kB / 1.018 GB, free: 1.805 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.904e-05/0.9809, allocations: 7.984 kB / 1.018 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.167e-06/0.9809, allocations: 0 / 1.018 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.034e-05/0.981, allocations: 97.02 kB / 1.018 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.4e-07/0.981, allocations: 4 kB / 1.018 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002089/0.9812, allocations: 8 kB / 1.018 GB, free: 1.695 MB / 0.6355 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.0004102/0.9816, allocations: 0.6794 MB / 1.018 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001083/0.9817, allocations: 26.86 kB / 1.018 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.9818, allocations: 4 kB / 1.018 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.853e-05/0.9818, allocations: 15.25 kB / 1.019 GB, free: 0.9688 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001866/0.982, allocations: 3 kB / 1.019 GB, free: 0.9688 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000369/0.9824, allocations: 115.1 kB / 1.019 GB, free: 0.8203 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002615/0.9826, allocations: 0.6885 MB / 1.019 GB, free: 108 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.505e-05/0.9827, allocations: 4.375 kB / 1.019 GB, free: 104 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.627e-05/0.9827, allocations: 22.77 kB / 1.019 GB, free: 92 kB / 0.6355 GB Notification: Performance of SimCode: time 3.01e-07/0.9827, allocations: 4 kB / 1.019 GB, free: 88 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01983/1.003, allocations: 1.128 MB / 1.02 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001924/1.003, allocations: 145.1 kB / 1.021 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.411/2.414, allocations: 0.5 kB / 1.021 GB, free: 14.78 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_Shade_Validation_Shade_H_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_Shade_Validation_Shade_H.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1)