Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009416/0.0009416, allocations: 89.06 kB / 19.65 MB, free: 276 kB / 13.93 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.0009517/0.0009517, allocations: 177.3 kB / 23.03 MB, free: 1.539 MB / 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/1, allocations: 177.1 MB / 203.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.116/2.116, allocations: 429.5 MB / 0.6732 GB, free: 4.016 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.226e-06/3.226e-06, allocations: 1.094 kB / 0.8781 GB, free: 6.355 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.342e-05/3.665e-05, allocations: 4.984 kB / 0.8781 GB, free: 6.352 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.00193/0.001967, allocations: 0.7114 MB / 0.8788 GB, free: 5.66 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001289/0.003256, allocations: 0.902 MB / 0.8797 GB, free: 4.75 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.891e-05/0.003315, allocations: 0.875 kB / 0.8797 GB, free: 4.75 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.431e-05/0.003359, allocations: 3.938 kB / 0.8797 GB, free: 4.746 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.000125/0.003484, allocations: 7.875 kB / 0.8797 GB, free: 4.738 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002706/0.003755, allocations: 35.83 kB / 0.8798 GB, free: 4.703 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001079/0.003863, allocations: 63.73 kB / 0.8798 GB, free: 4.641 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.003978, allocations: 11.98 kB / 0.8798 GB, free: 4.629 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002117/0.00419, allocations: 49.36 kB / 0.8799 GB, free: 4.582 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.441e-05/0.004255, allocations: 11.98 kB / 0.8799 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.476e-05/0.004279, allocations: 8 kB / 0.8799 GB, free: 4.562 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.768e-05/0.004327, allocations: 4 kB / 0.8799 GB, free: 4.559 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.176e-05/0.004349, allocations: 20.94 kB / 0.8799 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.056e-05/0.004379, allocations: 11.94 kB / 0.8799 GB, free: 4.527 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001542/0.004534, allocations: 48.95 kB / 0.88 GB, free: 4.48 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.604e-06/0.004536, allocations: 0 / 0.88 GB, free: 4.48 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.202e-06/0.004537, allocations: 0 / 0.88 GB, free: 4.48 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.004542, allocations: 5.094 kB / 0.88 GB, free: 4.477 MB / 0.8386 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.0004902/0.005032, allocations: 396.3 kB / 0.8804 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.005075, allocations: 8.031 kB / 0.8804 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001632/0.005238, allocations: 13.98 kB / 0.8804 GB, free: 4.031 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001911/0.005429, allocations: 140.4 kB / 0.8805 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.239e-05/0.005451, allocations: 1.25 kB / 0.8805 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/0.005465, allocations: 8.375 kB / 0.8805 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.005612, allocations: 59.45 kB / 0.8806 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.005622, allocations: 192 / 0.8806 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.005636, allocations: 10.11 kB / 0.8806 GB, free: 3.785 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.158e-06/0.005645, allocations: 384 / 0.8806 GB, free: 3.785 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.182e-05/0.005697, allocations: 11.94 kB / 0.8806 GB, free: 3.773 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004051/0.006102, allocations: 287.7 kB / 0.8809 GB, free: 3.457 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002088/0.006311, allocations: 60.16 kB / 0.8809 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.17e-05/0.006343, allocations: 12.84 kB / 0.8809 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.363e-05/0.006356, allocations: 0 / 0.8809 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.006387, allocations: 45.33 kB / 0.881 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.006388, allocations: 0.6562 kB / 0.881 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001892/0.006578, allocations: 47.33 kB / 0.881 GB, free: 3.266 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.475e-05/0.006612, allocations: 51.41 kB / 0.8811 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.006725, allocations: 185.8 kB / 0.8813 GB, free: 3.004 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.006744, allocations: 29.7 kB / 0.8813 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.661e-05/0.00681, allocations: 134.9 kB / 0.8814 GB, free: 2.832 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.354e-05/0.006834, allocations: 18.58 kB / 0.8814 GB, free: 2.816 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.334e-05/0.006877, allocations: 23.38 kB / 0.8815 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.007026, allocations: 0.4923 MB / 0.8819 GB, free: 2.281 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.53e-05/0.007052, allocations: 4 kB / 0.8819 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.239e-05/0.007104, allocations: 49.08 kB / 0.882 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.708e-05/0.007151, allocations: 23.67 kB / 0.882 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.007154, allocations: 0 / 0.882 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.949e-05/0.007253, allocations: 51.36 kB / 0.8821 GB, free: 2.133 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.007271, allocations: 11.98 kB / 0.8821 GB, free: 2.121 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.007276, allocations: 0 / 0.8821 GB, free: 2.121 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.00729, allocations: 3.938 kB / 0.8821 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.298e-05/0.007342, allocations: 4.656 kB / 0.8821 GB, free: 2.113 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.007348, allocations: 0 / 0.8821 GB, free: 2.113 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.735e-05/0.007385, allocations: 9.609 kB / 0.8821 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.007392, allocations: 3.984 kB / 0.8821 GB, free: 2.102 MB / 0.8386 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.902e-05/0.007461, allocations: 156.6 kB / 0.8822 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.712e-05/0.007478, allocations: 8.953 kB / 0.8822 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.137e-05/0.0075, allocations: 8 kB / 0.8823 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.007502, allocations: 4.828 kB / 0.8823 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.007505, allocations: 0 / 0.8823 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.007509, allocations: 4 kB / 0.8823 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.648e-05/0.007606, allocations: 132.6 kB / 0.8824 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.007606, allocations: 0 / 0.8824 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.646e-05/0.007623, allocations: 4 kB / 0.8824 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.007624, allocations: 0 / 0.8824 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.305e-06/0.007632, allocations: 3.938 kB / 0.8824 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-07/0.007633, allocations: 0 / 0.8824 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.007634, allocations: 0 / 0.8824 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001074/0.007741, allocations: 199.8 kB / 0.8826 GB, free: 1.527 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.251e-05/0.007753, allocations: 7.938 kB / 0.8826 GB, free: 1.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.00777, allocations: 3.938 kB / 0.8826 GB, free: 1.516 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.328e-05/0.007803, allocations: 8 kB / 0.8826 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.305e-05/0.007846, allocations: 11.98 kB / 0.8826 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.00785, allocations: 0 / 0.8826 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.45e-05/0.007894, allocations: 139.5 kB / 0.8828 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.7e-07/0.007894, allocations: 0 / 0.8828 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001379/0.008032, allocations: 8 kB / 0.8828 GB, free: 1.352 MB / 0.8386 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 6.926e-05/0.008101, allocations: 99.23 kB / 0.8829 GB, free: 1.242 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.625e-05/0.008198, allocations: 23.62 kB / 0.8829 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.008199, allocations: 0 / 0.8829 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.172e-05/0.008221, allocations: 23.67 kB / 0.8829 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001745/0.008395, allocations: 6.031 kB / 0.8829 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004852/0.00888, allocations: 166 kB / 0.8831 GB, free: 0.9922 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.051e-05/0.008921, allocations: 63.28 kB / 0.8831 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.169e-05/0.008952, allocations: 11.98 kB / 0.8831 GB, free: 0.8984 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.384e-05/0.008986, allocations: 8.5 kB / 0.8831 GB, free: 0.8867 MB / 0.8386 GB Notification: Performance of SimCode: time 8.62e-07/0.008987, allocations: 4 kB / 0.8831 GB, free: 0.8828 MB / 0.8386 GB Notification: Performance of Templates: time 0.002774/0.01176, allocations: 0.7782 MB / 0.8839 GB, free: 120 kB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & ./Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 5.340671848971397]