Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.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.001236/0.001236, allocations: 80.88 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.001463/0.001463, 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 1.042/1.042, allocations: 177.1 MB / 203.8 MB, free: 5.461 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.469/2.469, allocations: 438.8 MB / 0.6827 GB, free: 13.52 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_H,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|shaH.H|shaH.HHigh|shaH.HLow|shaH.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H") translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_H,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|shaH.H|shaH.HHigh|shaH.HLow|shaH.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.415e-05/1.583e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.001301/0.001317, allocations: 0.7483 MB / 0.8393 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0008435/0.00216, allocations: 0.8936 MB / 0.8402 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.957e-05/0.0022, allocations: 0 / 0.8402 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.751e-05/0.002227, allocations: 3.938 kB / 0.8402 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 8.131e-05/0.002309, allocations: 19.86 kB / 0.8402 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001574/0.002466, allocations: 35.78 kB / 0.8402 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 7.248e-05/0.002539, allocations: 51.86 kB / 0.8403 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 8.116e-05/0.00262, allocations: 27.89 kB / 0.8403 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001399/0.00276, allocations: 39.91 kB / 0.8404 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.83e-05/0.002808, allocations: 15.97 kB / 0.8404 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.002823, allocations: 8 kB / 0.8404 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 4.67e-05/0.00287, allocations: 4 kB / 0.8404 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.5e-05/0.002885, allocations: 19.92 kB / 0.8404 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.699e-05/0.002902, allocations: 8 kB / 0.8404 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 9.634e-05/0.002998, allocations: 55.7 kB / 0.8405 GB, free: 12.22 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.003, allocations: 0 / 0.8405 GB, free: 12.22 MB / 0.8073 GB Notification: Performance of FrontEnd: time 4.81e-07/0.003, allocations: 0 / 0.8405 GB, free: 12.22 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.003005, allocations: 7.984 kB / 0.8405 GB, free: 12.21 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.0002988/0.003304, allocations: 260.8 kB / 0.8407 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.00334, allocations: 8.625 kB / 0.8407 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.565e-05/0.003436, allocations: 16.91 kB / 0.8407 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.003557, allocations: 137.6 kB / 0.8409 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.00357, allocations: 8.375 kB / 0.8409 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.292e-06/0.003577, allocations: 384 / 0.8409 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.362e-05/0.00366, allocations: 66.88 kB / 0.8409 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.003667, allocations: 192 / 0.8409 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.191e-06/0.003674, allocations: 384 / 0.8409 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.003678, allocations: 384 / 0.8409 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.261e-05/0.003701, allocations: 11.94 kB / 0.841 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002059/0.003907, allocations: 168.2 kB / 0.8411 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001118/0.004019, allocations: 54.48 kB / 0.8412 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.232e-05/0.004031, allocations: 8.859 kB / 0.8412 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.007e-05/0.004041, allocations: 0 / 0.8412 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.004069, allocations: 38.56 kB / 0.8412 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 6.41e-07/0.00407, allocations: 0 / 0.8412 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 9.896e-05/0.004169, allocations: 45.7 kB / 0.8413 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.593e-05/0.004195, allocations: 59.34 kB / 0.8413 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.756e-05/0.004252, allocations: 126.7 kB / 0.8414 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.004266, allocations: 25.7 kB / 0.8415 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.221e-05/0.004308, allocations: 88.12 kB / 0.8415 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.705e-05/0.004325, allocations: 15.88 kB / 0.8416 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-05/0.004351, allocations: 21.72 kB / 0.8416 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0002066/0.004558, allocations: 318.8 kB / 0.8419 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.052e-05/0.004568, allocations: 4 kB / 0.8419 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.747e-05/0.004596, allocations: 39.42 kB / 0.8419 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.531e-05/0.004621, allocations: 16.84 kB / 0.8419 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.004622, allocations: 0 / 0.8419 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.826e-05/0.004671, allocations: 45.62 kB / 0.842 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.007e-05/0.004681, allocations: 4 kB / 0.842 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.004686, allocations: 7.938 kB / 0.842 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.004697, allocations: 0 / 0.842 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.522e-05/0.004732, allocations: 15.95 kB / 0.842 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.439e-06/0.004736, allocations: 7.984 kB / 0.842 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.263e-05/0.004759, allocations: 7.953 kB / 0.842 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.827e-06/0.004763, allocations: 0 / 0.842 GB, free: 10.44 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 (shaH.hys.y,$PRE.shaH.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 4.966e-05/0.004813, allocations: 109.8 kB / 0.8421 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.62e-05/0.004829, allocations: 8.312 kB / 0.8421 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.918e-05/0.004848, allocations: 15.94 kB / 0.8422 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.00485, allocations: 3.984 kB / 0.8422 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-06/0.004852, allocations: 0 / 0.8422 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.004854, allocations: 0 / 0.8422 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.277e-05/0.004937, allocations: 77.88 kB / 0.8422 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.004938, allocations: 0 / 0.8422 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.472e-05/0.004953, allocations: 4 kB / 0.8422 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.32e-07/0.004953, allocations: 0 / 0.8422 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.004959, allocations: 3.984 kB / 0.8422 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.71e-07/0.00496, allocations: 0 / 0.8422 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.004961, allocations: 7.938 kB / 0.8422 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.33e-05/0.005024, allocations: 131.5 kB / 0.8424 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.133e-06/0.005031, allocations: 4 kB / 0.8424 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.134e-05/0.005043, allocations: 4 kB / 0.8424 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.561e-05/0.005078, allocations: 11.98 kB / 0.8424 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.153e-05/0.00511, allocations: 11.92 kB / 0.8424 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-06/0.005112, allocations: 0 / 0.8424 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.737e-05/0.00513, allocations: 20.83 kB / 0.8424 GB, free: 9.992 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5.1e-08/0.00513, allocations: 0 / 0.8424 GB, free: 9.992 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001232/0.005253, allocations: 12 kB / 0.8424 GB, free: 9.98 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 (shaH.hys.y) * Number of discrete states: 1 (shaH.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.034e-05/0.005313, allocations: 72.42 kB / 0.8425 GB, free: 9.902 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.96e-05/0.005373, allocations: 24.78 kB / 0.8425 GB, free: 9.875 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.005375, allocations: 0 / 0.8425 GB, free: 9.875 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.474e-05/0.00539, allocations: 12.86 kB / 0.8425 GB, free: 9.859 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001204/0.00551, allocations: 8 kB / 0.8425 GB, free: 9.852 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003335/0.005844, allocations: 164.2 kB / 0.8427 GB, free: 9.664 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.309e-05/0.005877, allocations: 59.34 kB / 0.8428 GB, free: 9.586 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.045e-05/0.005907, allocations: 11.94 kB / 0.8428 GB, free: 9.574 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.91e-05/0.005956, allocations: 59.36 kB / 0.8428 GB, free: 9.516 MB / 0.8073 GB Notification: Performance of SimCode: time 4.51e-07/0.005957, allocations: 0 / 0.8428 GB, free: 9.516 MB / 0.8073 GB Notification: Performance of Templates: time 0.002158/0.008115, allocations: 0.7923 MB / 0.8436 GB, free: 8.742 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & ./Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Shade_Validation_Shade_H.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.252019818872213]