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.001357/0.001357, allocations: 108 kB / 15.6 MB, free: 132 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.001396/0.001396, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.466/1.466, allocations: 205.1 MB / 222.4 MB, free: 4.551 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.692/1.692, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001427/0.001427, allocations: 68.3 kB / 0.6716 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2307/0.2321, allocations: 114.5 MB / 0.7835 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.00257/0.2347, allocations: 0.7207 MB / 0.7842 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001056/0.2358, allocations: 0.8437 MB / 0.785 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.285e-05/0.2359, allocations: 0 / 0.785 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.749e-05/0.2359, allocations: 7.938 kB / 0.785 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.738e-05/0.236, allocations: 11.86 kB / 0.785 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000151/0.2362, allocations: 23.97 kB / 0.785 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.293e-05/0.2363, allocations: 59.84 kB / 0.7851 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.2364, allocations: 12 kB / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.546e-05/0.2365, allocations: 31.84 kB / 0.7851 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.45e-05/0.2366, allocations: 27.86 kB / 0.7852 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.89e-05/0.2366, allocations: 4 kB / 0.7852 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.481e-05/0.2366, allocations: 8 kB / 0.7852 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.361e-05/0.2366, allocations: 15.92 kB / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.893e-05/0.2367, allocations: 27.86 kB / 0.7852 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001111/0.2368, allocations: 68.05 kB / 0.7853 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2368, allocations: 0 / 0.7853 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.206e-06/0.2368, allocations: 0 / 0.7853 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.2368, allocations: 3.938 kB / 0.7853 GB, free: 11.53 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.0005459/0.2374, allocations: 371.2 kB / 0.7856 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.2374, allocations: 8.031 kB / 0.7856 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.627e-05/0.2375, allocations: 34.73 kB / 0.7857 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.253e-05/0.2375, allocations: 8.844 kB / 0.7857 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000252/0.2378, allocations: 200.1 kB / 0.7859 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.2378, allocations: 4.312 kB / 0.7859 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/0.2378, allocations: 4.375 kB / 0.7859 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/0.2379, allocations: 58.23 kB / 0.7859 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.238, allocations: 3.938 kB / 0.7859 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-06/0.238, allocations: 4 kB / 0.7859 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.238, allocations: 0 / 0.7859 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.949e-05/0.2381, allocations: 27.98 kB / 0.786 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003982/0.2385, allocations: 304.6 kB / 0.7863 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002659/0.2388, allocations: 74.52 kB / 0.7863 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.411e-05/0.2388, allocations: 21 kB / 0.7863 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.2389, allocations: 0 / 0.7863 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.2389, allocations: 34.56 kB / 0.7864 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.2389, allocations: 0 / 0.7864 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0002406/0.2391, allocations: 73.61 kB / 0.7865 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.593e-05/0.2392, allocations: 51.41 kB / 0.7865 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.604e-05/0.2393, allocations: 125.8 kB / 0.7866 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.2393, allocations: 25.7 kB / 0.7866 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.463e-05/0.2394, allocations: 92.05 kB / 0.7867 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.003e-05/0.2394, allocations: 15.83 kB / 0.7867 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.568e-05/0.2394, allocations: 13.72 kB / 0.7868 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.2396, allocations: 326.8 kB / 0.7871 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.135e-05/0.2396, allocations: 15.98 kB / 0.7871 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.074e-05/0.2397, allocations: 25.7 kB / 0.7871 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.713e-05/0.2398, allocations: 36.78 kB / 0.7871 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.2398, allocations: 0 / 0.7871 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001337/0.2399, allocations: 69.52 kB / 0.7872 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.2399, allocations: 4 kB / 0.7872 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.24, allocations: 8.031 kB / 0.7872 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.24, allocations: 0 / 0.7872 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.852e-05/0.24, allocations: 8 kB / 0.7872 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.24, allocations: 0 / 0.7872 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.864e-05/0.2401, allocations: 7.984 kB / 0.7872 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.595e-06/0.2401, allocations: 4 kB / 0.7872 GB, free: 9.266 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.88e-05/0.2402, allocations: 120.6 kB / 0.7874 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.445e-05/0.2402, allocations: 0 / 0.7874 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.443e-05/0.2403, allocations: 19.89 kB / 0.7874 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.2403, allocations: 0 / 0.7874 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.2403, allocations: 3.938 kB / 0.7874 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.2403, allocations: 0 / 0.7874 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001824/0.2405, allocations: 169.6 kB / 0.7875 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2405, allocations: 4 kB / 0.7875 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.548e-05/0.2405, allocations: 11.92 kB / 0.7876 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.2406, allocations: 0 / 0.7876 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.371e-06/0.2406, allocations: 0 / 0.7876 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2406, allocations: 0 / 0.7876 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.2406, allocations: 0 / 0.7876 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000162/0.2407, allocations: 163.7 kB / 0.7877 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.042e-05/0.2408, allocations: 81.02 kB / 0.7878 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.912e-05/0.2408, allocations: 8.047 kB / 0.7878 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.878e-05/0.2409, allocations: 11.97 kB / 0.7878 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.098e-05/0.2409, allocations: 3.984 kB / 0.7878 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.838e-06/0.241, allocations: 4 kB / 0.7878 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.85e-05/0.241, allocations: 99.27 kB / 0.7879 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.241, allocations: 0 / 0.7879 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000236/0.2413, allocations: 8 kB / 0.7879 GB, free: 8.473 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.0004792/0.2417, allocations: 0.685 MB / 0.7886 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001668/0.2419, allocations: 43.91 kB / 0.7886 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.2419, allocations: 0 / 0.7886 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.999e-05/0.242, allocations: 19.94 kB / 0.7887 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000321/0.2423, allocations: 7.984 kB / 0.7887 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001347/0.2437, allocations: 1.328 MB / 0.79 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002635/0.244, allocations: 0.6871 MB / 0.7906 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.294e-05/0.244, allocations: 4 kB / 0.7906 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.556e-05/0.2441, allocations: 23.42 kB / 0.7907 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of SimCode: time 2e-07/0.2441, allocations: 0 / 0.7907 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01938/0.2635, allocations: 1.711 MB / 0.7923 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.544/7.807, allocations: 15.67 kB / 0.7923 GB, free: 3.879 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)