Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001579/0.001579, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001645/0.001645, allocations: 169.3 kB / 24.28 MB, free: 280 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 0.9979/0.9979, allocations: 177.1 MB / 204.6 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.834/1.834, allocations: 359 MB / 0.6055 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Controls.OBC.Shade.Validation.Shade_H") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 0.787 GB, free: 11.74 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.623e-05/1.833e-05, allocations: 2.312 kB / 0.787 GB, free: 11.73 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.00133/0.001349, allocations: 0.7056 MB / 0.7877 GB, free: 11.05 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.000905/0.002254, allocations: 0.8984 MB / 0.7886 GB, free: 10.14 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.763e-05/0.002311, allocations: 8.625 kB / 0.7886 GB, free: 10.13 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.374e-05/0.002345, allocations: 8.766 kB / 0.7886 GB, free: 10.12 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 8.877e-05/0.002434, allocations: 11.86 kB / 0.7886 GB, free: 10.11 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000197/0.002631, allocations: 16.98 kB / 0.7887 GB, free: 10.09 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.31e-05/0.002724, allocations: 63.78 kB / 0.7887 GB, free: 10.03 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.002836, allocations: 24.45 kB / 0.7887 GB, free: 10.01 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001606/0.002997, allocations: 39.92 kB / 0.7888 GB, free: 9.969 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.35e-05/0.00306, allocations: 29.05 kB / 0.7888 GB, free: 9.941 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.742e-05/0.003078, allocations: 4 kB / 0.7888 GB, free: 9.938 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 3.924e-05/0.003117, allocations: 8.781 kB / 0.7888 GB, free: 9.93 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.37e-05/0.003131, allocations: 7.938 kB / 0.7888 GB, free: 9.922 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.61e-05/0.003157, allocations: 19.98 kB / 0.7888 GB, free: 9.902 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000118/0.003275, allocations: 49.08 kB / 0.7889 GB, free: 9.855 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.003277, allocations: 0 / 0.7889 GB, free: 9.855 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.71e-07/0.003277, allocations: 0 / 0.7889 GB, free: 9.855 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.003281, allocations: 1.406 kB / 0.7889 GB, free: 9.855 MB / 0.698 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.0003963/0.003677, allocations: 392 kB / 0.7893 GB, free: 9.434 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.003718, allocations: 12.03 kB / 0.7893 GB, free: 9.422 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001385/0.003857, allocations: 14.39 kB / 0.7893 GB, free: 9.41 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001911/0.004048, allocations: 140.5 kB / 0.7894 GB, free: 9.246 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.004069, allocations: 4.312 kB / 0.7894 GB, free: 9.242 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/0.00408, allocations: 12.84 kB / 0.7894 GB, free: 9.23 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001094/0.004189, allocations: 62.94 kB / 0.7895 GB, free: 9.16 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.004196, allocations: 1.281 kB / 0.7895 GB, free: 9.16 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.004206, allocations: 384 / 0.7895 GB, free: 9.16 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.004214, allocations: 384 / 0.7895 GB, free: 9.16 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.637e-05/0.00425, allocations: 13.81 kB / 0.7895 GB, free: 9.148 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003461/0.004596, allocations: 287.7 kB / 0.7898 GB, free: 8.832 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001678/0.004764, allocations: 51.75 kB / 0.7898 GB, free: 8.77 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.625e-05/0.00479, allocations: 15.75 kB / 0.7899 GB, free: 8.75 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.376e-05/0.004804, allocations: 1.062 kB / 0.7899 GB, free: 8.75 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.004827, allocations: 41.33 kB / 0.7899 GB, free: 8.699 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.774e-06/0.004829, allocations: 1.594 kB / 0.7899 GB, free: 8.699 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001559/0.004985, allocations: 57.66 kB / 0.79 GB, free: 8.637 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.969e-05/0.005014, allocations: 51.41 kB / 0.79 GB, free: 8.574 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.862e-05/0.005103, allocations: 177.9 kB / 0.7902 GB, free: 8.383 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.005119, allocations: 29.7 kB / 0.7902 GB, free: 8.348 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.806e-05/0.005177, allocations: 144.5 kB / 0.7903 GB, free: 8.203 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.467e-05/0.005192, allocations: 3.953 kB / 0.7903 GB, free: 8.199 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.131e-05/0.005223, allocations: 23.38 kB / 0.7904 GB, free: 8.168 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.005352, allocations: 0.4923 MB / 0.7908 GB, free: 7.664 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.615e-05/0.005368, allocations: 6.531 kB / 0.7908 GB, free: 7.66 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.889e-05/0.005407, allocations: 49.06 kB / 0.7909 GB, free: 7.598 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.038e-05/0.005437, allocations: 19.97 kB / 0.7909 GB, free: 7.574 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.005439, allocations: 0 / 0.7909 GB, free: 7.574 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.258e-05/0.005502, allocations: 61.5 kB / 0.791 GB, free: 7.508 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.005514, allocations: 8 kB / 0.791 GB, free: 7.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.005519, allocations: 0 / 0.791 GB, free: 7.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.005531, allocations: 0.625 kB / 0.791 GB, free: 7.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.082e-05/0.005561, allocations: 5.656 kB / 0.791 GB, free: 7.496 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.005567, allocations: 0 / 0.791 GB, free: 7.496 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.603e-05/0.005593, allocations: 11.92 kB / 0.791 GB, free: 7.484 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.947e-06/0.005597, allocations: 3.938 kB / 0.791 GB, free: 7.48 MB / 0.698 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.032e-05/0.005677, allocations: 158.3 kB / 0.7912 GB, free: 7.316 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.944e-05/0.005697, allocations: 11.94 kB / 0.7912 GB, free: 7.305 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.034e-05/0.005717, allocations: 4 kB / 0.7912 GB, free: 7.301 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.41e-07/0.005718, allocations: 0 / 0.7912 GB, free: 7.301 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.005722, allocations: 4.578 kB / 0.7912 GB, free: 7.297 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.005726, allocations: 4 kB / 0.7912 GB, free: 7.293 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.995e-05/0.005826, allocations: 133.5 kB / 0.7913 GB, free: 7.129 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.005827, allocations: 0 / 0.7913 GB, free: 7.129 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.489e-05/0.005842, allocations: 9.875 kB / 0.7913 GB, free: 7.121 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.72e-07/0.005843, allocations: 0 / 0.7913 GB, free: 7.121 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.005852, allocations: 7.922 kB / 0.7913 GB, free: 7.113 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.005853, allocations: 0 / 0.7913 GB, free: 7.113 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.71e-07/0.005854, allocations: 0 / 0.7913 GB, free: 7.113 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001053/0.005959, allocations: 191.9 kB / 0.7915 GB, free: 6.906 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.762e-06/0.005966, allocations: 6.078 kB / 0.7915 GB, free: 6.902 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.572e-05/0.005982, allocations: 7.938 kB / 0.7915 GB, free: 6.895 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.106e-05/0.006013, allocations: 4 kB / 0.7915 GB, free: 6.891 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.753e-05/0.00606, allocations: 11.97 kB / 0.7915 GB, free: 6.879 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.006062, allocations: 0 / 0.7915 GB, free: 6.879 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.854e-05/0.006111, allocations: 135.7 kB / 0.7917 GB, free: 6.746 MB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.006111, allocations: 0 / 0.7917 GB, free: 6.746 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001396/0.00625, allocations: 8.719 kB / 0.7917 GB, free: 6.738 MB / 0.698 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.678e-05/0.006327, allocations: 101.3 kB / 0.7918 GB, free: 6.629 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 9.215e-05/0.006419, allocations: 27.67 kB / 0.7918 GB, free: 6.598 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.006421, allocations: 0 / 0.7918 GB, free: 6.598 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.9e-05/0.00644, allocations: 11.69 kB / 0.7918 GB, free: 6.582 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001795/0.006619, allocations: 12.52 kB / 0.7918 GB, free: 6.57 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004476/0.007067, allocations: 168.6 kB / 0.792 GB, free: 6.379 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.417e-05/0.007101, allocations: 55.36 kB / 0.792 GB, free: 6.305 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.611e-05/0.007127, allocations: 5.359 kB / 0.792 GB, free: 6.301 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.627e-05/0.007153, allocations: 12.5 kB / 0.792 GB, free: 6.289 MB / 0.698 GB Notification: Performance of SimCode: time 7.41e-07/0.007154, allocations: 0.9062 kB / 0.792 GB, free: 6.289 MB / 0.698 GB Notification: Performance of Templates: time 0.002514/0.009668, allocations: 0.7726 MB / 0.7928 GB, free: 5.551 MB / 0.698 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & ./Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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.09180953213945]