Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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_8_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_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.001317/0.001317, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00176/0.00176, allocations: 187.9 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.387/1.387, allocations: 205.1 MB / 222.5 MB, free: 4.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.778/1.778, allocations: 292.3 MB / 0.549 GB, free: 12.71 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 70.75 kB / 0.6718 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.2196, allocations: 114.5 MB / 0.7836 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.001974/0.2216, allocations: 0.7164 MB / 0.7843 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000929/0.2225, allocations: 0.8476 MB / 0.7851 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.954e-05/0.2226, allocations: 0 / 0.7851 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.019e-05/0.2226, allocations: 3.938 kB / 0.7852 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.107e-05/0.2227, allocations: 15.84 kB / 0.7852 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001566/0.2229, allocations: 19.98 kB / 0.7852 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.897e-05/0.223, allocations: 55.84 kB / 0.7852 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.2231, allocations: 20 kB / 0.7853 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.339e-05/0.2232, allocations: 35.78 kB / 0.7853 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.795e-05/0.2233, allocations: 23.91 kB / 0.7853 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.694e-05/0.2233, allocations: 4 kB / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.271e-05/0.2233, allocations: 8 kB / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.261e-05/0.2234, allocations: 11.94 kB / 0.7853 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.676e-05/0.2234, allocations: 27.86 kB / 0.7854 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001101/0.2235, allocations: 71.98 kB / 0.7854 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.2235, allocations: 0 / 0.7854 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.432e-06/0.2235, allocations: 4 kB / 0.7854 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.2235, allocations: 0 / 0.7854 GB, free: 11.38 MB / 0.6075 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.0004755/0.224, allocations: 367.3 kB / 0.7858 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.2241, allocations: 8.031 kB / 0.7858 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.384e-05/0.2241, allocations: 34.69 kB / 0.7858 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.957e-05/0.2241, allocations: 8.844 kB / 0.7858 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002403/0.2244, allocations: 192.2 kB / 0.786 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.2244, allocations: 4.375 kB / 0.786 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.153e-05/0.2244, allocations: 8.375 kB / 0.786 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/0.2246, allocations: 62.22 kB / 0.7861 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.2246, allocations: 3.938 kB / 0.7861 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.487e-06/0.2246, allocations: 0 / 0.7861 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.2246, allocations: 0 / 0.7861 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001037/0.2247, allocations: 35.86 kB / 0.7861 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004189/0.2251, allocations: 300.7 kB / 0.7864 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000271/0.2254, allocations: 66.53 kB / 0.7865 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.563e-05/0.2255, allocations: 24.94 kB / 0.7865 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.587e-05/0.2255, allocations: 0 / 0.7865 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.2255, allocations: 30.56 kB / 0.7865 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 2.244e-06/0.2256, allocations: 11.98 kB / 0.7865 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0002534/0.2258, allocations: 65.67 kB / 0.7866 GB, free: 10 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.662e-05/0.2259, allocations: 51.41 kB / 0.7867 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.797e-05/0.226, allocations: 129.7 kB / 0.7868 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.226, allocations: 29.7 kB / 0.7868 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.32e-05/0.226, allocations: 92.05 kB / 0.7869 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.7e-05/0.2261, allocations: 11.83 kB / 0.7869 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.014e-05/0.2261, allocations: 21.72 kB / 0.7869 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002219/0.2263, allocations: 326.8 kB / 0.7872 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.569e-05/0.2264, allocations: 15.94 kB / 0.7873 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.908e-05/0.2265, allocations: 25.7 kB / 0.7873 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.249e-05/0.2266, allocations: 28.84 kB / 0.7873 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2266, allocations: 4 kB / 0.7873 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001314/0.2267, allocations: 69.61 kB / 0.7874 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.2267, allocations: 4 kB / 0.7874 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.2267, allocations: 0 / 0.7874 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.2268, allocations: 4 kB / 0.7874 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.836e-05/0.2268, allocations: 4 kB / 0.7874 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.2268, allocations: 7.922 kB / 0.7874 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.826e-05/0.2269, allocations: 7.984 kB / 0.7874 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.2269, allocations: 0 / 0.7874 GB, free: 9.125 MB / 0.6075 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 7.883e-05/0.227, allocations: 121.8 kB / 0.7875 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.855e-05/0.227, allocations: 8 kB / 0.7875 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.804e-05/0.2271, allocations: 11.89 kB / 0.7875 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.2271, allocations: 4 kB / 0.7875 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.2271, allocations: 0 / 0.7875 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.165e-06/0.2271, allocations: 0 / 0.7875 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001717/0.2273, allocations: 169.6 kB / 0.7877 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.2273, allocations: 0 / 0.7877 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.109e-05/0.2273, allocations: 7.984 kB / 0.7877 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.2273, allocations: 4 kB / 0.7877 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.2273, allocations: 0 / 0.7877 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.2273, allocations: 4 kB / 0.7877 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2273, allocations: 0 / 0.7877 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001729/0.2275, allocations: 163.3 kB / 0.7879 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.927e-05/0.2276, allocations: 81.02 kB / 0.788 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.22e-05/0.2276, allocations: 15.92 kB / 0.788 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.08e-05/0.2277, allocations: 0 / 0.788 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.101e-05/0.2277, allocations: 16.3 kB / 0.788 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.2277, allocations: 4 kB / 0.788 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.335e-05/0.2278, allocations: 91.27 kB / 0.7881 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2278, allocations: 0 / 0.7881 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002181/0.228, allocations: 12 kB / 0.7881 GB, free: 8.324 MB / 0.6075 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.0004554/0.2285, allocations: 0.689 MB / 0.7888 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001721/0.2287, allocations: 39.91 kB / 0.7888 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2287, allocations: 0 / 0.7888 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.06e-05/0.2287, allocations: 12 kB / 0.7888 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002861/0.229, allocations: 11.98 kB / 0.7888 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001309/0.2304, allocations: 1.336 MB / 0.7901 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002492/0.2306, allocations: 0.6885 MB / 0.7908 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.896e-05/0.2307, allocations: 4 kB / 0.7908 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.729e-05/0.2307, allocations: 19.44 kB / 0.7908 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of SimCode: time 3.1e-07/0.2307, allocations: 0 / 0.7908 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0192/0.2499, allocations: 1.722 MB / 0.7925 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.587/7.837, allocations: 15.98 kB / 0.7925 GB, free: 3.73 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.csv --start-time 0 --stop-time 1800 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_OBC_Shade_Validation_Shade_H.fmu > Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1)