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: translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_H,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H") translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_H,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.393/1.393, allocations: 251.5 MB / 267.4 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.0009828/0.0009825, allocations: 178.3 kB / 326.5 MB, free: 2.707 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.73/1.73, allocations: 205 MB / 0.5766 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.0008409/0.000841, allocations: 90.3 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003581/0.0003581, allocations: 13.78 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2139/0.2143, allocations: 105.4 MB / 0.8967 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.001457/0.2158, allocations: 1.14 MB / 0.8978 GB, free: 67.06 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003411/0.2162, allocations: 161.1 kB / 0.898 GB, free: 66.9 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.462e-05/0.2162, allocations: 4 kB / 0.898 GB, free: 66.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.908e-05/0.2163, allocations: 0 / 0.898 GB, free: 66.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.805e-05/0.2164, allocations: 15.86 kB / 0.898 GB, free: 66.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001497/0.2165, allocations: 15.98 kB / 0.898 GB, free: 66.87 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.694e-05/0.2166, allocations: 55.78 kB / 0.8981 GB, free: 66.81 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.2167, allocations: 16.28 kB / 0.8981 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.986e-05/0.2168, allocations: 27.91 kB / 0.8981 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.627e-05/0.2169, allocations: 23.8 kB / 0.8982 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.2169, allocations: 4 kB / 0.8982 GB, free: 66.74 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.176e-05/0.217, allocations: 0 / 0.8982 GB, free: 66.74 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.854e-05/0.217, allocations: 11.98 kB / 0.8982 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.924e-05/0.217, allocations: 15.88 kB / 0.8982 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.547e-05/0.2171, allocations: 51.81 kB / 0.8982 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.2171, allocations: 4 kB / 0.8982 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2171, allocations: 7.938 kB / 0.8982 GB, free: 66.65 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.2171, allocations: 0 / 0.8982 GB, free: 66.65 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.0003977/0.2175, allocations: 355.3 kB / 0.8986 GB, free: 66.25 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.2176, allocations: 12.03 kB / 0.8986 GB, free: 66.24 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.838e-05/0.2176, allocations: 4.844 kB / 0.8986 GB, free: 66.24 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002092/0.2178, allocations: 200.2 kB / 0.8988 GB, free: 66 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/0.2179, allocations: 8.375 kB / 0.8988 GB, free: 66 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.2179, allocations: 4.375 kB / 0.8988 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/0.218, allocations: 62.22 kB / 0.8989 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.2181, allocations: 192 / 0.8989 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.2181, allocations: 3.938 kB / 0.8989 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.2181, allocations: 0 / 0.8989 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.741e-05/0.2182, allocations: 39.91 kB / 0.8989 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003628/0.2186, allocations: 304.7 kB / 0.8992 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002575/0.2188, allocations: 90.52 kB / 0.8993 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.156e-05/0.2189, allocations: 24.86 kB / 0.8993 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.726e-05/0.2189, allocations: 0 / 0.8993 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.538e-05/0.2189, allocations: 34.66 kB / 0.8993 GB, free: 65.37 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.2189, allocations: 0 / 0.8993 GB, free: 65.37 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0002299/0.2192, allocations: 77.66 kB / 0.8994 GB, free: 65.29 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.104e-05/0.2192, allocations: 51.41 kB / 0.8995 GB, free: 65.22 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.803e-05/0.2193, allocations: 121.8 kB / 0.8996 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.2193, allocations: 29.7 kB / 0.8996 GB, free: 65.06 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.007e-05/0.2193, allocations: 104.8 kB / 0.8997 GB, free: 64.95 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.176e-05/0.2194, allocations: 3.906 kB / 0.8997 GB, free: 64.95 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.072e-05/0.2194, allocations: 17.72 kB / 0.8997 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.809e-05/0.2194, allocations: 318.8 kB / 0.9 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.04e-05/0.2195, allocations: 19.94 kB / 0.9001 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.378e-05/0.2196, allocations: 33.7 kB / 0.9001 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.708e-05/0.2196, allocations: 33.16 kB / 0.9001 GB, free: 64.51 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.2197, allocations: 0 / 0.9001 GB, free: 64.51 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001175/0.2198, allocations: 73.59 kB / 0.9002 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.2198, allocations: 8 kB / 0.9002 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.2198, allocations: 0 / 0.9002 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.2198, allocations: 0 / 0.9002 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.735e-05/0.2199, allocations: 19.86 kB / 0.9002 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.2199, allocations: 0 / 0.9002 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.726e-05/0.22, allocations: 15.91 kB / 0.9002 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/0.22, allocations: 0 / 0.9002 GB, free: 64.39 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 5.973e-05/0.22, allocations: 121.8 kB / 0.9003 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.331e-05/0.2201, allocations: 0 / 0.9003 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.38e-05/0.2201, allocations: 11.91 kB / 0.9004 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.2201, allocations: 4 kB / 0.9004 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.2201, allocations: 0 / 0.9004 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.2201, allocations: 0 / 0.9004 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001184/0.2202, allocations: 181.6 kB / 0.9005 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2202, allocations: 0 / 0.9005 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.963e-05/0.2203, allocations: 4 kB / 0.9005 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.2203, allocations: 0 / 0.9005 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.2203, allocations: 0 / 0.9005 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2203, allocations: 4 kB / 0.9005 GB, free: 64 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2203, allocations: 0 / 0.9005 GB, free: 64 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000135/0.2205, allocations: 171.3 kB / 0.9007 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.282e-05/0.2205, allocations: 85 kB / 0.9008 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.2205, allocations: 0 / 0.9008 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.067e-05/0.2206, allocations: 8 kB / 0.9008 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.037e-05/0.2206, allocations: 7.984 kB / 0.9008 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.2207, allocations: 12 kB / 0.9008 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.247e-05/0.2207, allocations: 91.27 kB / 0.9009 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2207, allocations: 0 / 0.9009 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001955/0.2209, allocations: 8 kB / 0.9009 GB, free: 63.59 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 8.099e-05/0.221, allocations: 99.23 kB / 0.901 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001489/0.2211, allocations: 35.98 kB / 0.901 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.2212, allocations: 4 kB / 0.901 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 5.006e-05/0.2212, allocations: 27.86 kB / 0.9011 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002541/0.2215, allocations: 13.66 kB / 0.9011 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003077/0.2218, allocations: 202.9 kB / 0.9013 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001087/0.2219, allocations: 0.6809 MB / 0.9019 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.905e-05/0.2219, allocations: 15.42 kB / 0.902 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of SimCode: time 4.1e-07/0.2219, allocations: 0 / 0.902 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of Templates: time 0.001793/0.2237, allocations: 0.8253 MB / 0.9028 GB, free: 61.64 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1)