Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T.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_T,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_Shade_Validation_Shade_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_T,fileNamePrefix="Buildings_8_0_0_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/Buildings 8.0.0/package.mo): time 2.654/2.654, allocations: 287.3 MB / 302.3 MB, free: 8.34 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.001487/0.001487, allocations: 169.1 kB / 370.8 MB, free: 10.86 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.061/2.061, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.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.001184, allocations: 106 kB / 0.7428 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006698/0.0006702, allocations: 16.02 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.25/0.2507, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.001746/0.2526, allocations: 433.7 kB / 0.9787 GB, free: 27.87 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002374/0.255, allocations: 0.8331 MB / 0.9795 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.115e-05/0.2551, allocations: 0 / 0.9795 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.89e-05/0.2551, allocations: 3.938 kB / 0.9795 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.978e-05/0.2553, allocations: 11.98 kB / 0.9795 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001411/0.2554, allocations: 7.984 kB / 0.9795 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.155e-05/0.2555, allocations: 39.89 kB / 0.9796 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.2556, allocations: 23.97 kB / 0.9796 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.869e-05/0.2557, allocations: 19.92 kB / 0.9796 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.422e-05/0.2558, allocations: 19.92 kB / 0.9796 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.546e-05/0.2558, allocations: 0 / 0.9796 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.55e-05/0.2559, allocations: 4 kB / 0.9796 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.604e-05/0.2559, allocations: 7.922 kB / 0.9796 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.442e-05/0.2559, allocations: 33.7 kB / 0.9797 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.221e-05/0.256, allocations: 52.11 kB / 0.9797 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.256, allocations: 0 / 0.9797 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.733e-06/0.256, allocations: 4 kB / 0.9797 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.2561, allocations: 0 / 0.9797 GB, free: 26.79 MB / 0.6198 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.0004599/0.2565, allocations: 359.1 kB / 0.9801 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.2566, allocations: 12.02 kB / 0.9801 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.834e-05/0.2566, allocations: 38.5 kB / 0.9801 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.476e-05/0.2567, allocations: 7.906 kB / 0.9801 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002594/0.2569, allocations: 202.9 kB / 0.9803 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.257, allocations: 0 / 0.9803 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.597e-05/0.257, allocations: 4 kB / 0.9803 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/0.2572, allocations: 61.66 kB / 0.9804 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.2572, allocations: 0 / 0.9804 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.2572, allocations: 7.984 kB / 0.9804 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.2572, allocations: 0 / 0.9804 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002096/0.2575, allocations: 35.92 kB / 0.9804 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005286/0.258, allocations: 300.7 kB / 0.9807 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00042/0.2585, allocations: 82.53 kB / 0.9808 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.889e-05/0.2585, allocations: 0 / 0.9808 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.661e-05/0.2585, allocations: 34.5 kB / 0.9808 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.493e-06/0.2585, allocations: 8.062 kB / 0.9808 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0003356/0.2589, allocations: 73.77 kB / 0.9809 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.649e-05/0.2589, allocations: 55.36 kB / 0.981 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.133e-05/0.259, allocations: 129.7 kB / 0.9811 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.259, allocations: 25.7 kB / 0.9811 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.794e-05/0.2591, allocations: 92.05 kB / 0.9812 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.029e-05/0.2591, allocations: 19.83 kB / 0.9812 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.721e-06/0.2591, allocations: 0 / 0.9812 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.677e-05/0.2592, allocations: 322.8 kB / 0.9815 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.854e-05/0.2593, allocations: 15.98 kB / 0.9815 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.659e-05/0.2594, allocations: 33.83 kB / 0.9816 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.928e-05/0.2595, allocations: 20.11 kB / 0.9816 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.2595, allocations: 4 kB / 0.9816 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002102/0.2597, allocations: 73.52 kB / 0.9817 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.2598, allocations: 4 kB / 0.9817 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.2598, allocations: 0 / 0.9817 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.2598, allocations: 0 / 0.9817 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.466e-05/0.2599, allocations: 8 kB / 0.9817 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.2599, allocations: 7.938 kB / 0.9817 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.26, allocations: 12 kB / 0.9817 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-06/0.2601, allocations: 0 / 0.9817 GB, free: 24.55 MB / 0.6198 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 8.2e-05/0.2601, allocations: 119.9 kB / 0.9818 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.4e-05/0.2602, allocations: 4 kB / 0.9818 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.161e-05/0.2602, allocations: 11.84 kB / 0.9818 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/0.2602, allocations: 0 / 0.9818 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.984e-06/0.2603, allocations: 8 kB / 0.9818 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.2603, allocations: 7.953 kB / 0.9818 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000188/0.2605, allocations: 169.6 kB / 0.982 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.2605, allocations: 0 / 0.982 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.928e-05/0.2606, allocations: 8 kB / 0.982 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.2606, allocations: 0 / 0.982 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.2606, allocations: 0 / 0.982 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.2606, allocations: 0 / 0.982 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.2606, allocations: 0 / 0.982 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002161/0.2608, allocations: 167.4 kB / 0.9822 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.274e-05/0.2609, allocations: 89 kB / 0.9822 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.407e-05/0.2609, allocations: 4 kB / 0.9822 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001225/0.2611, allocations: 4 kB / 0.9823 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.299e-05/0.2611, allocations: 7.984 kB / 0.9823 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.2611, allocations: 0 / 0.9823 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.744e-05/0.2612, allocations: 107.2 kB / 0.9824 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.41e-07/0.2612, allocations: 0 / 0.9824 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000307/0.2615, allocations: 8 kB / 0.9824 GB, free: 23.76 MB / 0.6198 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.0004548/0.262, allocations: 0.6929 MB / 0.983 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000221/0.2622, allocations: 35.98 kB / 0.9831 GB, free: 23 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.2623, allocations: 3.938 kB / 0.9831 GB, free: 23 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.61e-05/0.2624, allocations: 23.92 kB / 0.9831 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002564/0.2626, allocations: 8 kB / 0.9831 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.2637, allocations: 0.5061 MB / 0.9836 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001432/0.2639, allocations: 0.6926 MB / 0.9843 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.931e-05/0.2639, allocations: 8.406 kB / 0.9843 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.228e-05/0.264, allocations: 23.42 kB / 0.9843 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of SimCode: time 1.002e-06/0.264, allocations: 0 / 0.9843 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0219/0.2859, allocations: 1.463 MB / 0.9857 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002467/0.2863, allocations: 183.8 kB / 0.9859 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.347/2.633, allocations: 0 / 0.9859 GB, free: 20.08 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_Shade_Validation_Shade_T_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_Shade_Validation_Shade_T.fmu > Buildings_8.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1)