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.001013/0.001013, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.0009348/0.0009348, allocations: 169 kB / 23.02 MB, free: 1.551 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.9871/0.9871, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.236/2.236, allocations: 429.5 MB / 0.6732 GB, free: 4 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 2.294e-06/2.294e-06, allocations: 0 / 0.8781 GB, free: 6.348 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.822e-05/3.052e-05, allocations: 2.312 kB / 0.8781 GB, free: 6.344 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.001416/0.001447, allocations: 0.7181 MB / 0.8788 GB, free: 5.652 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009228/0.00237, allocations: 0.8954 MB / 0.8797 GB, free: 4.746 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.469e-05/0.002414, allocations: 0 / 0.8797 GB, free: 4.746 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.377e-05/0.002448, allocations: 7.922 kB / 0.8797 GB, free: 4.738 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.108e-05/0.002539, allocations: 18.06 kB / 0.8797 GB, free: 4.723 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001962/0.002735, allocations: 23.91 kB / 0.8797 GB, free: 4.699 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.636e-05/0.002822, allocations: 65.34 kB / 0.8798 GB, free: 4.637 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.002925, allocations: 11.98 kB / 0.8798 GB, free: 4.625 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001488/0.003073, allocations: 43.84 kB / 0.8799 GB, free: 4.582 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.183e-05/0.003135, allocations: 21 kB / 0.8799 GB, free: 4.562 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.01e-05/0.003155, allocations: 8 kB / 0.8799 GB, free: 4.555 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.677e-05/0.003202, allocations: 8 kB / 0.8799 GB, free: 4.547 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.421e-05/0.003216, allocations: 13.05 kB / 0.8799 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.756e-05/0.003244, allocations: 23.92 kB / 0.8799 GB, free: 4.512 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001195/0.003363, allocations: 39.89 kB / 0.88 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.003366, allocations: 4.969 kB / 0.88 GB, free: 4.469 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.32e-07/0.003366, allocations: 0 / 0.88 GB, free: 4.469 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.003371, allocations: 0 / 0.88 GB, free: 4.469 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.0003834/0.003754, allocations: 397.5 kB / 0.8804 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.003793, allocations: 12.03 kB / 0.8804 GB, free: 4.031 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001316/0.003924, allocations: 13.81 kB / 0.8804 GB, free: 4.02 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001719/0.004096, allocations: 136.5 kB / 0.8805 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.004114, allocations: 0.875 kB / 0.8805 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.412e-05/0.004128, allocations: 10.16 kB / 0.8805 GB, free: 3.852 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001158/0.004244, allocations: 62.94 kB / 0.8806 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.004252, allocations: 192 / 0.8806 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.004264, allocations: 4.375 kB / 0.8806 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.004271, allocations: 384 / 0.8806 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.629e-05/0.004308, allocations: 13.22 kB / 0.8806 GB, free: 3.766 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003287/0.004636, allocations: 287.6 kB / 0.8809 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001551/0.004791, allocations: 60.12 kB / 0.8809 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.208e-05/0.004814, allocations: 11.75 kB / 0.8809 GB, free: 3.363 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.00483, allocations: 4.641 kB / 0.8809 GB, free: 3.359 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.364e-05/0.004854, allocations: 46.92 kB / 0.881 GB, free: 3.305 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.004855, allocations: 0 / 0.881 GB, free: 3.305 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001494/0.005005, allocations: 53.66 kB / 0.881 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.631e-05/0.005031, allocations: 51.41 kB / 0.8811 GB, free: 3.184 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.678e-05/0.005118, allocations: 180.6 kB / 0.8813 GB, free: 2.992 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.005133, allocations: 25.7 kB / 0.8813 GB, free: 2.961 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.666e-05/0.005189, allocations: 142.9 kB / 0.8814 GB, free: 2.816 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.652e-05/0.005206, allocations: 11.84 kB / 0.8814 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-05/0.005236, allocations: 23.38 kB / 0.8815 GB, free: 2.773 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.005349, allocations: 0.4884 MB / 0.8819 GB, free: 2.273 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.23e-05/0.005371, allocations: 15.94 kB / 0.8819 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.018e-05/0.005411, allocations: 50.94 kB / 0.882 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.429e-05/0.005446, allocations: 19.69 kB / 0.882 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.005448, allocations: 0 / 0.882 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.541e-05/0.005513, allocations: 49.56 kB / 0.8821 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.005526, allocations: 8 kB / 0.8821 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.005531, allocations: 0.7188 kB / 0.8821 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.005544, allocations: 0 / 0.8821 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.169e-05/0.005586, allocations: 9.656 kB / 0.8821 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.005591, allocations: 0 / 0.8821 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.79e-05/0.005619, allocations: 11.94 kB / 0.8821 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.005624, allocations: 0 / 0.8821 GB, free: 2.09 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 6.585e-05/0.00569, allocations: 157.2 kB / 0.8822 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.76e-05/0.005707, allocations: 8.875 kB / 0.8823 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.211e-05/0.005729, allocations: 8 kB / 0.8823 GB, free: 1.91 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.005731, allocations: 0 / 0.8823 GB, free: 1.91 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.005735, allocations: 8.016 kB / 0.8823 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.005738, allocations: 0 / 0.8823 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001015/0.005839, allocations: 128.6 kB / 0.8824 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.005841, allocations: 0 / 0.8824 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.762e-05/0.005858, allocations: 7.938 kB / 0.8824 GB, free: 1.734 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.00586, allocations: 0 / 0.8824 GB, free: 1.734 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.216e-06/0.005868, allocations: 7.922 kB / 0.8824 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.21e-07/0.005869, allocations: 0 / 0.8824 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.005869, allocations: 0 / 0.8824 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000103/0.005972, allocations: 191.9 kB / 0.8826 GB, free: 1.52 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.047e-06/0.005981, allocations: 7.953 kB / 0.8826 GB, free: 1.512 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.005996, allocations: 8.312 kB / 0.8826 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.836e-05/0.006035, allocations: 4 kB / 0.8826 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.422e-05/0.006079, allocations: 15.97 kB / 0.8826 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.437e-06/0.006082, allocations: 0 / 0.8826 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.404e-05/0.006126, allocations: 135.6 kB / 0.8828 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6.1e-08/0.006127, allocations: 0 / 0.8828 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001438/0.00627, allocations: 11.94 kB / 0.8828 GB, free: 1.34 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.361e-05/0.006344, allocations: 99.19 kB / 0.8829 GB, free: 1.23 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.188e-05/0.006436, allocations: 31.66 kB / 0.8829 GB, free: 1.195 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.006437, allocations: 0 / 0.8829 GB, free: 1.195 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.195e-05/0.006459, allocations: 15.69 kB / 0.8829 GB, free: 1.176 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00019/0.006649, allocations: 10.66 kB / 0.8829 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004646/0.007114, allocations: 162 kB / 0.8831 GB, free: 0.9805 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.505e-05/0.007149, allocations: 55.36 kB / 0.8831 GB, free: 0.9062 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.93e-05/0.007178, allocations: 11.98 kB / 0.8831 GB, free: 0.8945 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.489e-05/0.007213, allocations: 12.5 kB / 0.8831 GB, free: 0.8789 MB / 0.8386 GB Notification: Performance of SimCode: time 1.032e-06/0.007214, allocations: 0 / 0.8831 GB, free: 0.8789 MB / 0.8386 GB Notification: Performance of Templates: time 0.00238/0.009594, allocations: 0.7531 MB / 0.8839 GB, free: 144 kB / 0.8386 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.680985264945775]