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.001196/0.001196, allocations: 77.95 kB / 20.66 MB, free: 3.832 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.001739/0.001739, allocations: 169 kB / 24.06 MB, free: 448 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.093/1.093, allocations: 177.1 MB / 204.5 MB, free: 5.121 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.202/2.202, allocations: 429.5 MB / 0.6743 GB, free: 3.926 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 1.573e-06/1.573e-06, allocations: 0 / 0.8793 GB, free: 6.07 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.51e-05/1.667e-05, allocations: 2.312 kB / 0.8793 GB, free: 6.066 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.001276/0.001292, allocations: 0.7242 MB / 0.88 GB, free: 5.371 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.000853/0.002145, allocations: 0.8954 MB / 0.8809 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.87e-05/0.002194, allocations: 0 / 0.8809 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.894e-05/0.002223, allocations: 3.938 kB / 0.8809 GB, free: 4.461 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.19e-05/0.002315, allocations: 15.41 kB / 0.8809 GB, free: 4.449 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001889/0.002504, allocations: 31.84 kB / 0.881 GB, free: 4.418 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.904e-05/0.002583, allocations: 55.8 kB / 0.881 GB, free: 4.363 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.014e-05/0.002673, allocations: 20.97 kB / 0.881 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001465/0.002819, allocations: 43.91 kB / 0.8811 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.031e-05/0.00287, allocations: 21.03 kB / 0.8811 GB, free: 4.281 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.002885, allocations: 4 kB / 0.8811 GB, free: 4.277 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.043e-05/0.002926, allocations: 8 kB / 0.8811 GB, free: 4.27 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.676e-05/0.002942, allocations: 17.05 kB / 0.8811 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.857e-05/0.002961, allocations: 8 kB / 0.8811 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001076/0.003069, allocations: 47.77 kB / 0.8812 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.003071, allocations: 1.031 kB / 0.8812 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.61e-07/0.003072, allocations: 0 / 0.8812 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.003076, allocations: 4 kB / 0.8812 GB, free: 4.195 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.0003547/0.003431, allocations: 401.2 kB / 0.8816 GB, free: 3.766 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.881e-05/0.00346, allocations: 8.031 kB / 0.8816 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001006/0.00356, allocations: 9.438 kB / 0.8816 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.003682, allocations: 142.2 kB / 0.8817 GB, free: 3.586 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.003697, allocations: 384 / 0.8817 GB, free: 3.586 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.676e-06/0.003706, allocations: 8.375 kB / 0.8817 GB, free: 3.578 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.061e-05/0.003786, allocations: 50.95 kB / 0.8818 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.003794, allocations: 5.375 kB / 0.8818 GB, free: 3.516 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.166e-06/0.003802, allocations: 8.312 kB / 0.8818 GB, free: 3.508 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.003808, allocations: 4.359 kB / 0.8818 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.252e-05/0.003831, allocations: 9.031 kB / 0.8818 GB, free: 3.496 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002445/0.004075, allocations: 260.3 kB / 0.8821 GB, free: 3.215 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001227/0.004198, allocations: 61.22 kB / 0.8821 GB, free: 3.145 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.3e-05/0.004211, allocations: 11.75 kB / 0.8821 GB, free: 3.129 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.121e-05/0.004222, allocations: 4.031 kB / 0.8821 GB, free: 3.125 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.004243, allocations: 37.38 kB / 0.8822 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.004244, allocations: 2.781 kB / 0.8822 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001242/0.004368, allocations: 53.58 kB / 0.8822 GB, free: 3.02 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.896e-05/0.004397, allocations: 55.41 kB / 0.8823 GB, free: 2.953 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.194e-05/0.004469, allocations: 181.8 kB / 0.8824 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.315e-05/0.004482, allocations: 25.7 kB / 0.8825 GB, free: 2.727 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.505e-05/0.004538, allocations: 142.8 kB / 0.8826 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.728e-05/0.004555, allocations: 15.84 kB / 0.8826 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.679e-05/0.004582, allocations: 23.38 kB / 0.8826 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.004703, allocations: 0.4901 MB / 0.8831 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.322e-05/0.004716, allocations: 8 kB / 0.8831 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.092e-05/0.004747, allocations: 49.06 kB / 0.8832 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.45e-05/0.004771, allocations: 15.69 kB / 0.8832 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.004773, allocations: 0.625 kB / 0.8832 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.301e-05/0.004826, allocations: 49.62 kB / 0.8832 GB, free: 1.891 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.004838, allocations: 12.09 kB / 0.8832 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.004842, allocations: 0 / 0.8832 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.384e-06/0.004849, allocations: 0 / 0.8832 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.163e-05/0.004881, allocations: 4 kB / 0.8833 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.004888, allocations: 8.703 kB / 0.8833 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.555e-05/0.004913, allocations: 12.28 kB / 0.8833 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.127e-06/0.004918, allocations: 0.8125 kB / 0.8833 GB, free: 1.859 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.184e-05/0.004979, allocations: 156.6 kB / 0.8834 GB, free: 1.695 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.808e-05/0.004998, allocations: 7.984 kB / 0.8834 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.006e-05/0.005018, allocations: 15.94 kB / 0.8834 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.00502, allocations: 3.984 kB / 0.8834 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-06/0.005022, allocations: 0 / 0.8834 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.005025, allocations: 0 / 0.8834 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.319e-05/0.005118, allocations: 105.2 kB / 0.8836 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.005119, allocations: 0 / 0.8836 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.404e-05/0.005133, allocations: 4 kB / 0.8836 GB, free: 1.535 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.31e-07/0.005133, allocations: 3.938 kB / 0.8836 GB, free: 1.531 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.939e-06/0.005138, allocations: 4 kB / 0.8836 GB, free: 1.527 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.12e-07/0.005139, allocations: 4 kB / 0.8836 GB, free: 1.523 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.00514, allocations: 3.938 kB / 0.8836 GB, free: 1.52 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.384e-05/0.005224, allocations: 195.8 kB / 0.8838 GB, free: 1.309 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.032e-05/0.005234, allocations: 7.938 kB / 0.8838 GB, free: 1.301 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.166e-05/0.005246, allocations: 4 kB / 0.8838 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.635e-05/0.005282, allocations: 4 kB / 0.8838 GB, free: 1.293 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.261e-05/0.005315, allocations: 11.92 kB / 0.8838 GB, free: 1.281 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.005318, allocations: 0 / 0.8838 GB, free: 1.281 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.889e-05/0.005367, allocations: 135.2 kB / 0.8839 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.005367, allocations: 0 / 0.8839 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000222/0.005589, allocations: 12 kB / 0.8839 GB, free: 1.137 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 8.346e-05/0.005672, allocations: 99.23 kB / 0.884 GB, free: 1.027 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.688e-05/0.005769, allocations: 23.62 kB / 0.884 GB, free: 1 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.005771, allocations: 0 / 0.884 GB, free: 1 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.687e-05/0.005797, allocations: 15.67 kB / 0.8841 GB, free: 0.9805 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000234/0.006031, allocations: 8 kB / 0.8841 GB, free: 0.9727 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000454/0.006485, allocations: 170 kB / 0.8842 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.2e-05/0.006517, allocations: 59.34 kB / 0.8843 GB, free: 0.6992 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.787e-05/0.006545, allocations: 4 kB / 0.8843 GB, free: 0.6953 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.019e-05/0.006596, allocations: 78.19 kB / 0.8844 GB, free: 0.6172 MB / 0.8386 GB Notification: Performance of SimCode: time 5.71e-07/0.006596, allocations: 0 / 0.8844 GB, free: 0.6172 MB / 0.8386 GB Notification: Performance of Templates: time 0.002237/0.008834, allocations: 0.8338 MB / 0.8852 GB, free: 15.79 MB / 0.8542 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.698595976922661]