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.323/1.323, allocations: 251.5 MB / 266.7 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008793/0.0008793, allocations: 175.6 kB / 325.8 MB, free: 2.711 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.53/1.53, allocations: 205 MB / 0.576 GB, free: 21.03 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.0006551/0.0006551, allocations: 91.19 kB / 0.6797 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002903/0.0002903, allocations: 6.312 kB / 0.7932 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.1777, allocations: 105.4 MB / 0.8962 GB, free: 68.12 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.001008/0.1788, allocations: 1.147 MB / 0.8973 GB, free: 66.96 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002347/0.179, allocations: 161.1 kB / 0.8975 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.561e-05/0.1791, allocations: 4 kB / 0.8975 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.643e-05/0.1791, allocations: 3.984 kB / 0.8975 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.281e-05/0.1791, allocations: 3.938 kB / 0.8975 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 7.077e-05/0.1792, allocations: 23.92 kB / 0.8975 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.177e-05/0.1793, allocations: 51.84 kB / 0.8976 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.864e-05/0.1793, allocations: 28.19 kB / 0.8976 GB, free: 66.69 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.867e-05/0.1794, allocations: 23.92 kB / 0.8976 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.617e-05/0.1794, allocations: 19.86 kB / 0.8976 GB, free: 66.64 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.041e-05/0.1795, allocations: 7.984 kB / 0.8976 GB, free: 66.64 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.023e-06/0.1795, allocations: 0 / 0.8976 GB, free: 66.64 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.418e-06/0.1795, allocations: 3.938 kB / 0.8976 GB, free: 66.63 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.19e-05/0.1795, allocations: 23.86 kB / 0.8977 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.286e-05/0.1796, allocations: 59.81 kB / 0.8977 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1796, allocations: 0 / 0.8977 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.402e-06/0.1796, allocations: 3.938 kB / 0.8977 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.596e-06/0.1796, allocations: 4 kB / 0.8977 GB, free: 66.54 MB / 0.6042 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.0003863/0.18, allocations: 355.4 kB / 0.8981 GB, free: 66.14 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.1801, allocations: 8.031 kB / 0.8981 GB, free: 66.14 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.641e-05/0.1801, allocations: 38.69 kB / 0.8981 GB, free: 66.09 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.838e-05/0.1801, allocations: 8.844 kB / 0.8981 GB, free: 66.08 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002201/0.1804, allocations: 204.2 kB / 0.8983 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.1804, allocations: 384 / 0.8983 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.758e-06/0.1804, allocations: 4.375 kB / 0.8983 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001096/0.1805, allocations: 58.25 kB / 0.8984 GB, free: 65.78 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.1805, allocations: 3.938 kB / 0.8984 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.924e-06/0.1805, allocations: 3.984 kB / 0.8984 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.1805, allocations: 0 / 0.8984 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.544e-05/0.1806, allocations: 39.92 kB / 0.8984 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002876/0.1809, allocations: 296.7 kB / 0.8987 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002511/0.1812, allocations: 91.47 kB / 0.8988 GB, free: 65.29 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.294e-05/0.1812, allocations: 20.94 kB / 0.8988 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.383e-05/0.1813, allocations: 0 / 0.8988 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.03e-05/0.1813, allocations: 42.44 kB / 0.8988 GB, free: 65.22 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.1813, allocations: 0 / 0.8988 GB, free: 65.22 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0001973/0.1815, allocations: 77.67 kB / 0.8989 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.929e-05/0.1815, allocations: 51.41 kB / 0.899 GB, free: 65.07 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.212e-05/0.1816, allocations: 125.8 kB / 0.8991 GB, free: 64.94 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.107e-06/0.1816, allocations: 29.7 kB / 0.8991 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.037e-05/0.1816, allocations: 95.98 kB / 0.8992 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.166e-05/0.1816, allocations: 11.97 kB / 0.8992 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.871e-05/0.1817, allocations: 13.72 kB / 0.8992 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.054e-05/0.1817, allocations: 322.8 kB / 0.8995 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.477e-05/0.1818, allocations: 19.98 kB / 0.8996 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.69e-05/0.1818, allocations: 37.59 kB / 0.8996 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.046e-05/0.1819, allocations: 36.83 kB / 0.8996 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1819, allocations: 0 / 0.8996 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001056/0.182, allocations: 65.59 kB / 0.8997 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.738e-06/0.182, allocations: 8 kB / 0.8997 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.182, allocations: 0 / 0.8997 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.1821, allocations: 0 / 0.8997 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.029e-05/0.1821, allocations: 12.02 kB / 0.8997 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.1821, allocations: 0 / 0.8997 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.411e-05/0.1822, allocations: 19.98 kB / 0.8997 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/0.1822, allocations: 3.938 kB / 0.8997 GB, free: 64.24 MB / 0.6042 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 (shaH.hys.y,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.826e-05/0.1822, allocations: 118.1 kB / 0.8998 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.232e-05/0.1823, allocations: 0 / 0.8998 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.126e-05/0.1823, allocations: 19.89 kB / 0.8999 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.1823, allocations: 0 / 0.8999 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.1823, allocations: 0 / 0.8999 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.1823, allocations: 0 / 0.8999 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001069/0.1824, allocations: 177.6 kB / 0.9 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.1824, allocations: 0 / 0.9 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.646e-05/0.1825, allocations: 4 kB / 0.9 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.1825, allocations: 0 / 0.9 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.1825, allocations: 3.984 kB / 0.9 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.1825, allocations: 0 / 0.9 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1825, allocations: 4 kB / 0.9 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001174/0.1826, allocations: 167.3 kB / 0.9002 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.866e-05/0.1827, allocations: 85.02 kB / 0.9003 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.1827, allocations: 4 kB / 0.9003 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.703e-05/0.1827, allocations: 11.98 kB / 0.9003 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.474e-05/0.1828, allocations: 4 kB / 0.9003 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.1828, allocations: 7.984 kB / 0.9003 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.896e-05/0.1828, allocations: 91.27 kB / 0.9004 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9e-08/0.1828, allocations: 3.938 kB / 0.9004 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001898/0.183, allocations: 12 kB / 0.9004 GB, free: 63.44 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002503/0.1833, allocations: 0.6929 MB / 0.9011 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001164/0.1834, allocations: 39.92 kB / 0.9011 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1834, allocations: 0 / 0.9011 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.355e-05/0.1835, allocations: 19.98 kB / 0.9012 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000231/0.1837, allocations: 12 kB / 0.9012 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008704/0.1846, allocations: 1.352 MB / 0.9025 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.487e-05/0.1847, allocations: 0.6913 MB / 0.9032 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.418e-05/0.1847, allocations: 4 kB / 0.9032 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.926e-05/0.1848, allocations: 19.42 kB / 0.9032 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of SimCode: time 5.31e-07/0.1848, allocations: 0 / 0.9032 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09191/0.2767, allocations: 1.458 MB / 0.9046 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001417/0.2769, allocations: 207.9 kB / 0.9048 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.511/1.788, allocations: 7.938 kB / 0.9048 GB, free: 58.89 MB / 0.6042 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)