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.001392/0.001392, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001555/0.001555, allocations: 177 kB / 23.49 MB, free: 1.059 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 0.9643/0.9643, allocations: 177.1 MB / 203.8 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.021/2.021, allocations: 429.5 MB / 0.6736 GB, free: 4.051 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.563e-06/1.563e-06, allocations: 0 / 0.8781 GB, free: 6.688 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.717e-05/1.874e-05, allocations: 2.312 kB / 0.8781 GB, free: 6.684 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.001348/0.001366, allocations: 0.7005 MB / 0.8788 GB, free: 6.008 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0008944/0.002261, allocations: 0.9102 MB / 0.8797 GB, free: 5.086 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.454e-05/0.002305, allocations: 0 / 0.8797 GB, free: 5.086 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.973e-05/0.002335, allocations: 5.844 kB / 0.8797 GB, free: 5.082 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.869e-05/0.002424, allocations: 9.078 kB / 0.8797 GB, free: 5.074 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.00021/0.002634, allocations: 27.97 kB / 0.8798 GB, free: 5.047 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.468e-05/0.002718, allocations: 60.88 kB / 0.8798 GB, free: 4.988 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.381e-05/0.002812, allocations: 19.92 kB / 0.8798 GB, free: 4.969 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001363/0.002948, allocations: 44.48 kB / 0.8799 GB, free: 4.926 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.611e-05/0.003014, allocations: 19.92 kB / 0.8799 GB, free: 4.906 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.635e-05/0.003031, allocations: 4.719 kB / 0.8799 GB, free: 4.902 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 3.822e-05/0.003069, allocations: 8 kB / 0.8799 GB, free: 4.895 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.645e-05/0.003086, allocations: 19.73 kB / 0.8799 GB, free: 4.879 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.474e-05/0.00311, allocations: 15.92 kB / 0.8799 GB, free: 4.863 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001159/0.003226, allocations: 47.83 kB / 0.88 GB, free: 4.816 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.003229, allocations: 4 kB / 0.88 GB, free: 4.812 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.71e-07/0.00323, allocations: 0 / 0.88 GB, free: 4.812 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.003234, allocations: 0 / 0.88 GB, free: 4.812 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.0003778/0.003612, allocations: 392.4 kB / 0.8804 GB, free: 4.391 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.00365, allocations: 8.031 kB / 0.8804 GB, free: 4.383 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001219/0.003771, allocations: 16.92 kB / 0.8804 GB, free: 4.367 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001997/0.003971, allocations: 138 kB / 0.8805 GB, free: 4.207 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.185e-05/0.003993, allocations: 8.375 kB / 0.8805 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/0.004004, allocations: 4.375 kB / 0.8805 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001183/0.004123, allocations: 63.95 kB / 0.8806 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.00413, allocations: 192 / 0.8806 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.004144, allocations: 4.375 kB / 0.8806 GB, free: 4.121 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.004152, allocations: 1.5 kB / 0.8806 GB, free: 4.121 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.368e-05/0.004196, allocations: 19.92 kB / 0.8806 GB, free: 4.102 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006448/0.004841, allocations: 280.7 kB / 0.8809 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001654/0.005006, allocations: 60.72 kB / 0.8809 GB, free: 3.723 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.315e-05/0.005029, allocations: 19.73 kB / 0.881 GB, free: 3.699 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.229e-05/0.005042, allocations: 0 / 0.881 GB, free: 3.699 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/0.005063, allocations: 37.33 kB / 0.881 GB, free: 3.652 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.005064, allocations: 2.688 kB / 0.881 GB, free: 3.652 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001465/0.00521, allocations: 61.52 kB / 0.8811 GB, free: 3.586 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.961e-05/0.00524, allocations: 51.41 kB / 0.8811 GB, free: 3.523 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.35e-05/0.005323, allocations: 181.9 kB / 0.8813 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.005336, allocations: 25.7 kB / 0.8813 GB, free: 3.297 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.148e-05/0.005387, allocations: 134.9 kB / 0.8814 GB, free: 3.16 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.614e-05/0.005403, allocations: 11.91 kB / 0.8814 GB, free: 3.148 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.025e-05/0.005433, allocations: 25.2 kB / 0.8815 GB, free: 3.117 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.00555, allocations: 0.4884 MB / 0.8819 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.7e-05/0.005567, allocations: 3.984 kB / 0.882 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.061e-05/0.005608, allocations: 53.08 kB / 0.882 GB, free: 2.547 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.963e-05/0.005637, allocations: 15.62 kB / 0.882 GB, free: 2.527 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.005639, allocations: 0.7188 kB / 0.882 GB, free: 2.527 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.38e-05/0.005703, allocations: 53.62 kB / 0.8821 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.005715, allocations: 5.656 kB / 0.8821 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.00572, allocations: 336 / 0.8821 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.005732, allocations: 4 kB / 0.8821 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.405e-05/0.005766, allocations: 7.984 kB / 0.8821 GB, free: 2.453 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.005772, allocations: 0.625 kB / 0.8821 GB, free: 2.453 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.453e-05/0.005797, allocations: 7.938 kB / 0.8821 GB, free: 2.445 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-06/0.005801, allocations: 0.9062 kB / 0.8821 GB, free: 2.445 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 7.226e-05/0.005874, allocations: 172.6 kB / 0.8823 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.735e-05/0.005891, allocations: 7.891 kB / 0.8823 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.041e-05/0.005911, allocations: 12 kB / 0.8823 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.005913, allocations: 0 / 0.8823 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.005916, allocations: 0 / 0.8823 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.005919, allocations: 3.938 kB / 0.8823 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.773e-05/0.006017, allocations: 124.7 kB / 0.8824 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.006018, allocations: 0 / 0.8824 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.586e-05/0.006034, allocations: 11.98 kB / 0.8824 GB, free: 2.074 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.006036, allocations: 4 kB / 0.8824 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.006044, allocations: 3.938 kB / 0.8824 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.006045, allocations: 4 kB / 0.8824 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-07/0.006045, allocations: 3.938 kB / 0.8824 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.276e-05/0.006138, allocations: 191.9 kB / 0.8826 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.003e-05/0.006148, allocations: 11.94 kB / 0.8826 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.006162, allocations: 3.938 kB / 0.8826 GB, free: 1.836 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.409e-05/0.006196, allocations: 4 kB / 0.8826 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.96e-05/0.006236, allocations: 7.984 kB / 0.8826 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/0.006238, allocations: 0 / 0.8826 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.215e-05/0.00628, allocations: 135.6 kB / 0.8828 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.00628, allocations: 3.938 kB / 0.8828 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001418/0.006422, allocations: 16 kB / 0.8828 GB, free: 1.672 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 7.081e-05/0.006493, allocations: 93.62 kB / 0.8829 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.529e-05/0.006578, allocations: 23.67 kB / 0.8829 GB, free: 1.543 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.006579, allocations: 0 / 0.8829 GB, free: 1.543 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.332e-05/0.006603, allocations: 23.67 kB / 0.8829 GB, free: 1.516 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001788/0.006782, allocations: 8 kB / 0.8829 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004823/0.007264, allocations: 166.1 kB / 0.8831 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.626e-05/0.0073, allocations: 59.34 kB / 0.8831 GB, free: 1.238 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.667e-05/0.007327, allocations: 4 kB / 0.8831 GB, free: 1.234 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.99e-05/0.007357, allocations: 12.48 kB / 0.8832 GB, free: 1.219 MB / 0.8386 GB Notification: Performance of SimCode: time 6.81e-07/0.007357, allocations: 0 / 0.8832 GB, free: 1.219 MB / 0.8386 GB Notification: Performance of Templates: time 0.002227/0.009584, allocations: 0.7626 MB / 0.8839 GB, free: 484 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.282122002914548]