Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 71.75 kB / 20.97 MB, free: 3.57 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001668/0.001668, allocations: 165 kB / 24.27 MB, free: 276 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.001/1.001, allocations: 177.1 MB / 204.6 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.782/1.782, allocations: 359 MB / 0.6055 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|shaT.THigh|shaT.TLow|shaT.T|shaT.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T") translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|shaT.THigh|shaT.TLow|shaT.T|shaT.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 0.787 GB, free: 11.76 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.251e-05/1.38e-05, allocations: 2.312 kB / 0.787 GB, free: 11.76 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.001135/0.001149, allocations: 0.6971 MB / 0.7877 GB, free: 11.08 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0007881/0.001937, allocations: 0.91 MB / 0.7886 GB, free: 10.16 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.283e-05/0.00197, allocations: 0.5625 kB / 0.7886 GB, free: 10.16 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.548e-05/0.001986, allocations: 3.938 kB / 0.7886 GB, free: 10.15 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.831e-05/0.002034, allocations: 9.031 kB / 0.7886 GB, free: 10.14 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001074/0.002141, allocations: 27.97 kB / 0.7887 GB, free: 10.12 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 6.398e-05/0.002205, allocations: 56.34 kB / 0.7887 GB, free: 10.06 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 6.45e-05/0.00227, allocations: 28.81 kB / 0.7887 GB, free: 10.04 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.6e-05/0.002366, allocations: 43.83 kB / 0.7888 GB, free: 9.992 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.22e-05/0.002408, allocations: 21.11 kB / 0.7888 GB, free: 9.973 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.00242, allocations: 4 kB / 0.7888 GB, free: 9.969 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 2.516e-05/0.002445, allocations: 8 kB / 0.7888 GB, free: 9.961 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.356e-05/0.002459, allocations: 15.98 kB / 0.7888 GB, free: 9.945 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.806e-05/0.002477, allocations: 16.58 kB / 0.7888 GB, free: 9.93 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 8.231e-05/0.002559, allocations: 53.16 kB / 0.7889 GB, free: 9.879 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.403e-06/0.002561, allocations: 4 kB / 0.7889 GB, free: 9.875 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.3e-07/0.002561, allocations: 0 / 0.7889 GB, free: 9.875 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.002565, allocations: 0 / 0.7889 GB, free: 9.875 MB / 0.698 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.0002741/0.00284, allocations: 389.5 kB / 0.7893 GB, free: 9.457 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.579e-05/0.002865, allocations: 8.031 kB / 0.7893 GB, free: 9.449 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.463e-05/0.00296, allocations: 20.88 kB / 0.7893 GB, free: 9.43 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.003083, allocations: 139.7 kB / 0.7894 GB, free: 9.27 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.003094, allocations: 384 / 0.7894 GB, free: 9.27 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.899e-06/0.003104, allocations: 12.36 kB / 0.7894 GB, free: 9.258 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.892e-05/0.003182, allocations: 58.94 kB / 0.7895 GB, free: 9.191 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.978e-06/0.003186, allocations: 192 / 0.7895 GB, free: 9.191 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.961e-06/0.003192, allocations: 4.375 kB / 0.7895 GB, free: 9.188 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.003196, allocations: 384 / 0.7895 GB, free: 9.188 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.093e-05/0.003227, allocations: 15.92 kB / 0.7895 GB, free: 9.172 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002345/0.003462, allocations: 280.7 kB / 0.7898 GB, free: 8.863 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.003584, allocations: 59.61 kB / 0.7898 GB, free: 8.793 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.061e-05/0.003605, allocations: 17.25 kB / 0.7899 GB, free: 8.773 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.985e-06/0.003613, allocations: 0 / 0.7899 GB, free: 8.773 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.646e-05/0.003629, allocations: 41.27 kB / 0.7899 GB, free: 8.723 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 5.51e-07/0.00363, allocations: 0 / 0.7899 GB, free: 8.723 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 9.609e-05/0.003726, allocations: 58.3 kB / 0.79 GB, free: 8.66 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.088e-05/0.003747, allocations: 52.38 kB / 0.79 GB, free: 8.598 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.225e-05/0.003819, allocations: 177.9 kB / 0.7902 GB, free: 8.406 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.003832, allocations: 29.7 kB / 0.7902 GB, free: 8.371 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.974e-05/0.003882, allocations: 139.6 kB / 0.7903 GB, free: 8.23 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.274e-05/0.003894, allocations: 12 kB / 0.7903 GB, free: 8.219 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.873e-05/0.003923, allocations: 23.97 kB / 0.7904 GB, free: 8.188 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.00403, allocations: 0.4897 MB / 0.7908 GB, free: 7.688 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.43e-05/0.004045, allocations: 3.984 kB / 0.7909 GB, free: 7.684 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.276e-05/0.004078, allocations: 49.08 kB / 0.7909 GB, free: 7.621 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.642e-05/0.004104, allocations: 19.62 kB / 0.7909 GB, free: 7.598 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.004105, allocations: 1.531 kB / 0.7909 GB, free: 7.598 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.357e-05/0.004158, allocations: 57.58 kB / 0.791 GB, free: 7.535 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.907e-06/0.004167, allocations: 4 kB / 0.791 GB, free: 7.531 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.953e-06/0.004169, allocations: 0 / 0.791 GB, free: 7.531 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.256e-06/0.004178, allocations: 9.516 kB / 0.791 GB, free: 7.523 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.692e-05/0.004204, allocations: 4 kB / 0.791 GB, free: 7.52 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.256e-06/0.004208, allocations: 0 / 0.791 GB, free: 7.52 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.261e-05/0.00423, allocations: 7.938 kB / 0.791 GB, free: 7.512 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.467e-06/0.004234, allocations: 2.594 kB / 0.791 GB, free: 7.512 MB / 0.698 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 (shaT.hys.y,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.762e-05/0.004301, allocations: 168.5 kB / 0.7912 GB, free: 7.336 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.555e-05/0.004317, allocations: 3.938 kB / 0.7912 GB, free: 7.332 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.643e-05/0.004333, allocations: 12 kB / 0.7912 GB, free: 7.32 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.004335, allocations: 336 / 0.7912 GB, free: 7.32 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.004337, allocations: 0 / 0.7912 GB, free: 7.32 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.004339, allocations: 1.688 kB / 0.7912 GB, free: 7.32 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.282e-05/0.004432, allocations: 128.6 kB / 0.7913 GB, free: 7.16 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.004433, allocations: 4 kB / 0.7913 GB, free: 7.156 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.404e-05/0.004447, allocations: 3.984 kB / 0.7913 GB, free: 7.152 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.004449, allocations: 8.5 kB / 0.7913 GB, free: 7.145 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.2e-06/0.004454, allocations: 8.438 kB / 0.7913 GB, free: 7.137 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.004456, allocations: 3.984 kB / 0.7913 GB, free: 7.133 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.004456, allocations: 1.531 kB / 0.7913 GB, free: 7.133 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.567e-05/0.004542, allocations: 187.9 kB / 0.7915 GB, free: 6.93 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.267e-06/0.004551, allocations: 11.94 kB / 0.7915 GB, free: 6.918 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.25e-05/0.004564, allocations: 7.938 kB / 0.7915 GB, free: 6.91 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.296e-05/0.004597, allocations: 4.531 kB / 0.7915 GB, free: 6.906 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.587e-05/0.004623, allocations: 13.98 kB / 0.7915 GB, free: 6.895 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.004625, allocations: 0 / 0.7915 GB, free: 6.895 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.193e-05/0.004667, allocations: 139.5 kB / 0.7917 GB, free: 6.758 MB / 0.698 GB Notification: Performance of sort global known variables: time 6e-08/0.004667, allocations: 0 / 0.7917 GB, free: 6.758 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001342/0.004801, allocations: 8 kB / 0.7917 GB, free: 6.75 MB / 0.698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 5.593e-05/0.004857, allocations: 100.5 kB / 0.7918 GB, free: 6.641 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 5.8e-05/0.004915, allocations: 19.69 kB / 0.7918 GB, free: 6.617 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.004917, allocations: 5.062 kB / 0.7918 GB, free: 6.613 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.971e-05/0.004937, allocations: 19.61 kB / 0.7918 GB, free: 6.59 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001445/0.005081, allocations: 8.875 kB / 0.7918 GB, free: 6.582 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003922/0.005474, allocations: 161.1 kB / 0.792 GB, free: 6.398 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.486e-05/0.005508, allocations: 59.34 kB / 0.792 GB, free: 6.32 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.231e-05/0.005531, allocations: 4 kB / 0.792 GB, free: 6.316 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.568e-05/0.005556, allocations: 16.98 kB / 0.7921 GB, free: 6.301 MB / 0.698 GB Notification: Performance of SimCode: time 5.31e-07/0.005557, allocations: 1.125 kB / 0.7921 GB, free: 6.301 MB / 0.698 GB Notification: Performance of Templates: time 0.001981/0.007537, allocations: 0.7532 MB / 0.7928 GB, free: 5.57 MB / 0.698 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & ./Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_Shade_Validation_Shade_T.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.999462918145582]