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.001028/0.001028, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.0009305/0.0009305, allocations: 181 kB / 23.36 MB, free: 1.133 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.9875/0.9875, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.415/2.415, allocations: 438.8 MB / 0.6827 GB, free: 13.58 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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 2.895e-06/2.895e-06, allocations: 0 / 0.8385 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.947e-05/3.236e-05, allocations: 2.312 kB / 0.8385 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.002083/0.002115, allocations: 0.705 MB / 0.8392 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001452/0.003567, allocations: 0.9014 MB / 0.8401 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.404e-05/0.003621, allocations: 4 kB / 0.8401 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.645e-05/0.003658, allocations: 7.922 kB / 0.8401 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001053/0.003763, allocations: 15.8 kB / 0.8401 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002464/0.00401, allocations: 19.92 kB / 0.8401 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001115/0.004121, allocations: 63.78 kB / 0.8402 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.004225, allocations: 19.95 kB / 0.8402 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002197/0.004444, allocations: 47.84 kB / 0.8403 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 7.54e-05/0.00452, allocations: 23.91 kB / 0.8403 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.004538, allocations: 4 kB / 0.8403 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 4.949e-05/0.004588, allocations: 12 kB / 0.8403 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.634e-05/0.004604, allocations: 4 kB / 0.8403 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.65e-05/0.004631, allocations: 19.92 kB / 0.8403 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001327/0.004763, allocations: 43.83 kB / 0.8404 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.004765, allocations: 0 / 0.8404 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.42e-07/0.004766, allocations: 0 / 0.8404 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.676e-06/0.00477, allocations: 0 / 0.8404 GB, free: 12.36 MB / 0.8073 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.0003842/0.005154, allocations: 268.7 kB / 0.8406 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.005195, allocations: 8.625 kB / 0.8406 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001437/0.005339, allocations: 20.92 kB / 0.8407 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/0.005495, allocations: 133.6 kB / 0.8408 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.005515, allocations: 4.375 kB / 0.8408 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.418e-05/0.005529, allocations: 4.375 kB / 0.8408 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.005647, allocations: 58.94 kB / 0.8409 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.005654, allocations: 192 / 0.8409 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.005664, allocations: 4.375 kB / 0.8409 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.005671, allocations: 384 / 0.8409 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.24e-05/0.005703, allocations: 15.92 kB / 0.8409 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003016/0.006005, allocations: 176.2 kB / 0.841 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001714/0.006176, allocations: 42.55 kB / 0.8411 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.227e-05/0.006198, allocations: 8.859 kB / 0.8411 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.365e-05/0.006212, allocations: 0 / 0.8411 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.006238, allocations: 38.56 kB / 0.8411 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 1.223e-06/0.00624, allocations: 4 kB / 0.8411 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0001317/0.006371, allocations: 45.66 kB / 0.8412 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.243e-05/0.006404, allocations: 51.41 kB / 0.8412 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.063e-05/0.006484, allocations: 134.7 kB / 0.8413 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.006504, allocations: 25.7 kB / 0.8414 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.136e-05/0.006555, allocations: 88.14 kB / 0.8415 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.065e-05/0.006576, allocations: 15.88 kB / 0.8415 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.558e-05/0.006612, allocations: 17.7 kB / 0.8415 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.913e-05/0.006711, allocations: 314.8 kB / 0.8418 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.672e-05/0.006727, allocations: 4 kB / 0.8418 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.201e-05/0.006769, allocations: 47.58 kB / 0.8418 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.763e-05/0.006807, allocations: 16.84 kB / 0.8419 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.006809, allocations: 0 / 0.8419 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.71e-05/0.006887, allocations: 49.62 kB / 0.8419 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.006901, allocations: 8.031 kB / 0.8419 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.006907, allocations: 3.938 kB / 0.8419 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.006919, allocations: 0 / 0.8419 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.744e-05/0.006966, allocations: 4 kB / 0.8419 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.906e-06/0.006969, allocations: 0 / 0.8419 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.919e-05/0.007009, allocations: 15.94 kB / 0.8419 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.92e-06/0.007013, allocations: 4 kB / 0.8419 GB, free: 10.59 MB / 0.8073 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.115e-05/0.007085, allocations: 105.8 kB / 0.842 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.513e-05/0.00711, allocations: 4 kB / 0.842 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.824e-05/0.007138, allocations: 15.94 kB / 0.8421 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.007142, allocations: 4 kB / 0.8421 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.007145, allocations: 3.984 kB / 0.8421 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.007148, allocations: 0 / 0.8421 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001347/0.007282, allocations: 69.89 kB / 0.8421 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.007285, allocations: 3.938 kB / 0.8421 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.209e-05/0.007317, allocations: 7.984 kB / 0.8421 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.007319, allocations: 0 / 0.8421 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.007326, allocations: 4 kB / 0.8421 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.007327, allocations: 0 / 0.8421 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.00733, allocations: 3.938 kB / 0.8421 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000107/0.007437, allocations: 135.5 kB / 0.8423 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.307e-05/0.00745, allocations: 11.92 kB / 0.8423 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.007466, allocations: 0 / 0.8423 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.041e-05/0.007526, allocations: 4 kB / 0.8423 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.401e-05/0.00757, allocations: 11.92 kB / 0.8423 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/0.007575, allocations: 4 kB / 0.8423 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.808e-05/0.007603, allocations: 20.83 kB / 0.8423 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1e-07/0.007603, allocations: 0 / 0.8423 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002208/0.007824, allocations: 8 kB / 0.8423 GB, free: 10.13 MB / 0.8073 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 9.889e-05/0.007923, allocations: 80.36 kB / 0.8424 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.249e-05/0.008006, allocations: 20.84 kB / 0.8424 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.008009, allocations: 0 / 0.8424 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.32e-05/0.008032, allocations: 12.86 kB / 0.8424 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002011/0.008233, allocations: 12.73 kB / 0.8425 GB, free: 9.996 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005543/0.008787, allocations: 172.6 kB / 0.8426 GB, free: 9.801 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.134e-05/0.008829, allocations: 63.34 kB / 0.8427 GB, free: 9.719 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.875e-05/0.008867, allocations: 3.984 kB / 0.8427 GB, free: 9.715 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.95e-05/0.008927, allocations: 59.36 kB / 0.8427 GB, free: 9.656 MB / 0.8073 GB Notification: Performance of SimCode: time 6.42e-07/0.008928, allocations: 0 / 0.8427 GB, free: 9.656 MB / 0.8073 GB Notification: Performance of Templates: time 0.003133/0.01206, allocations: 0.79 MB / 0.8435 GB, free: 8.887 MB / 0.8073 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.311202026437968]