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.001148/0.001148, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001117/0.001117, allocations: 169 kB / 24.06 MB, free: 456 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.018/1.018, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.099/2.099, allocations: 429.5 MB / 0.6743 GB, free: 3.902 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_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.954e-06/1.954e-06, allocations: 0 / 0.8793 GB, free: 6.059 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.884e-05/2.079e-05, allocations: 2.312 kB / 0.8793 GB, free: 6.055 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.001394/0.001415, allocations: 0.7161 MB / 0.88 GB, free: 5.367 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009714/0.002386, allocations: 0.8954 MB / 0.8809 GB, free: 4.461 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.867e-05/0.002445, allocations: 4.875 kB / 0.8809 GB, free: 4.457 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.043e-05/0.002475, allocations: 3.938 kB / 0.8809 GB, free: 4.453 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001013/0.002577, allocations: 17.95 kB / 0.8809 GB, free: 4.438 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001993/0.002776, allocations: 27.91 kB / 0.881 GB, free: 4.41 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.448e-05/0.002861, allocations: 60.86 kB / 0.881 GB, free: 4.352 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.002961, allocations: 15.97 kB / 0.881 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001718/0.003133, allocations: 44.97 kB / 0.8811 GB, free: 4.293 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.788e-05/0.003191, allocations: 23.91 kB / 0.8811 GB, free: 4.27 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.003206, allocations: 4 kB / 0.8811 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.051e-05/0.003247, allocations: 9.062 kB / 0.8811 GB, free: 4.258 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.578e-05/0.003262, allocations: 7.938 kB / 0.8811 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.73e-05/0.00329, allocations: 19.98 kB / 0.8811 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001129/0.003402, allocations: 44.48 kB / 0.8812 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.003405, allocations: 0 / 0.8812 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.91e-07/0.003405, allocations: 1.375 kB / 0.8812 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.00341, allocations: 0 / 0.8812 GB, free: 4.188 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.0004043/0.003815, allocations: 392.3 kB / 0.8816 GB, free: 3.766 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.003857, allocations: 8.625 kB / 0.8816 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001443/0.004001, allocations: 18.3 kB / 0.8816 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001877/0.004189, allocations: 136.4 kB / 0.8817 GB, free: 3.582 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.227e-05/0.004211, allocations: 8.375 kB / 0.8817 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-06/0.00422, allocations: 5.094 kB / 0.8817 GB, free: 3.57 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001042/0.004324, allocations: 58.94 kB / 0.8818 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/0.004333, allocations: 0.8125 kB / 0.8818 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.993e-06/0.00434, allocations: 384 / 0.8818 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.004346, allocations: 1.469 kB / 0.8818 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.677e-05/0.004373, allocations: 19.86 kB / 0.8818 GB, free: 3.484 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000295/0.004668, allocations: 264.8 kB / 0.8821 GB, free: 3.199 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001387/0.004806, allocations: 52.25 kB / 0.8821 GB, free: 3.137 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.747e-05/0.004824, allocations: 11.75 kB / 0.8821 GB, free: 3.121 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.197e-05/0.004836, allocations: 3.438 kB / 0.8821 GB, free: 3.121 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.004861, allocations: 45.39 kB / 0.8822 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.332e-06/0.004863, allocations: 0 / 0.8822 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001341/0.004997, allocations: 53.61 kB / 0.8822 GB, free: 3.008 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.94e-05/0.005026, allocations: 51.41 kB / 0.8823 GB, free: 2.945 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.277e-05/0.005109, allocations: 178 kB / 0.8824 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.005127, allocations: 33.7 kB / 0.8825 GB, free: 2.715 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.928e-05/0.005186, allocations: 142.8 kB / 0.8826 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.725e-05/0.005203, allocations: 11.84 kB / 0.8826 GB, free: 2.559 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-05/0.005234, allocations: 20.31 kB / 0.8826 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.005365, allocations: 0.4923 MB / 0.8831 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.088e-05/0.005376, allocations: 4.594 kB / 0.8831 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.412e-05/0.00541, allocations: 45.08 kB / 0.8832 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.929e-05/0.00544, allocations: 24.92 kB / 0.8832 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.005441, allocations: 0 / 0.8832 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.968e-05/0.0055, allocations: 45.69 kB / 0.8832 GB, free: 1.887 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.005517, allocations: 18.47 kB / 0.8833 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.005521, allocations: 0 / 0.8833 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.376e-06/0.005529, allocations: 0 / 0.8833 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.445e-05/0.005564, allocations: 4 kB / 0.8833 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.993e-06/0.005566, allocations: 0 / 0.8833 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.671e-05/0.005593, allocations: 11.94 kB / 0.8833 GB, free: 1.855 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.479e-06/0.005597, allocations: 336 / 0.8833 GB, free: 1.855 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 (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 8.148e-05/0.005679, allocations: 156.6 kB / 0.8834 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.518e-05/0.005704, allocations: 7.984 kB / 0.8834 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.61e-05/0.00573, allocations: 11.94 kB / 0.8834 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.005732, allocations: 7.938 kB / 0.8834 GB, free: 1.664 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.005735, allocations: 0 / 0.8834 GB, free: 1.664 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.00574, allocations: 3.938 kB / 0.8834 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001426/0.005883, allocations: 109.2 kB / 0.8836 GB, free: 1.527 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.005884, allocations: 0 / 0.8836 GB, free: 1.527 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.921e-05/0.005924, allocations: 7.984 kB / 0.8836 GB, free: 1.52 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.005926, allocations: 0 / 0.8836 GB, free: 1.52 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.005934, allocations: 4 kB / 0.8836 GB, free: 1.516 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.005936, allocations: 0 / 0.8836 GB, free: 1.516 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.005938, allocations: 3.938 kB / 0.8836 GB, free: 1.512 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000111/0.006049, allocations: 187.9 kB / 0.8837 GB, free: 1.309 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.818e-06/0.006059, allocations: 11.95 kB / 0.8838 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.006072, allocations: 4 kB / 0.8838 GB, free: 1.293 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.78e-05/0.00611, allocations: 7.984 kB / 0.8838 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.653e-05/0.006146, allocations: 7.922 kB / 0.8838 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.006149, allocations: 0 / 0.8838 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.639e-05/0.006196, allocations: 139.1 kB / 0.8839 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.006196, allocations: 4 kB / 0.8839 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001356/0.006331, allocations: 8 kB / 0.8839 GB, free: 1.129 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 (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 7.949e-05/0.006411, allocations: 99.25 kB / 0.884 GB, free: 1.02 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.718e-05/0.006488, allocations: 19.67 kB / 0.884 GB, free: 0.9961 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 9.21e-07/0.006489, allocations: 0 / 0.884 GB, free: 0.9961 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.858e-05/0.006507, allocations: 15.69 kB / 0.884 GB, free: 0.9766 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001735/0.006681, allocations: 19.98 kB / 0.8841 GB, free: 0.957 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003773/0.007058, allocations: 162 kB / 0.8842 GB, free: 0.7695 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.905e-05/0.007097, allocations: 59.36 kB / 0.8843 GB, free: 0.6914 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.987e-05/0.007127, allocations: 7.984 kB / 0.8843 GB, free: 0.6836 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.85e-05/0.007186, allocations: 74.2 kB / 0.8844 GB, free: 0.6094 MB / 0.8386 GB Notification: Performance of SimCode: time 6.11e-07/0.007186, allocations: 0 / 0.8844 GB, free: 0.6094 MB / 0.8386 GB Notification: Performance of Templates: time 0.002373/0.009559, allocations: 0.8382 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_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 -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.50739165302366]