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.001024/0.001024, allocations: 92.22 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.0009351/0.0009351, allocations: 173 kB / 23.02 MB, free: 1.547 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.9543/0.9543, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.042/2.042, allocations: 429.5 MB / 0.6733 GB, free: 3.984 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.8781 GB, free: 6.324 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.094e-05/2.289e-05, allocations: 6.312 kB / 0.8781 GB, free: 6.316 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.001383/0.001406, allocations: 0.7149 MB / 0.8788 GB, free: 5.625 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009644/0.002371, allocations: 0.9037 MB / 0.8797 GB, free: 4.711 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.794e-05/0.002449, allocations: 0.6562 kB / 0.8797 GB, free: 4.711 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.963e-05/0.002488, allocations: 3.938 kB / 0.8797 GB, free: 4.707 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001185/0.002607, allocations: 19.28 kB / 0.8797 GB, free: 4.695 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002487/0.002856, allocations: 23.86 kB / 0.8798 GB, free: 4.672 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.62e-05/0.002952, allocations: 67.77 kB / 0.8798 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.003057, allocations: 11.98 kB / 0.8798 GB, free: 4.594 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002079/0.003265, allocations: 43.91 kB / 0.8799 GB, free: 4.551 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.826e-05/0.003323, allocations: 15.97 kB / 0.8799 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.00334, allocations: 4 kB / 0.8799 GB, free: 4.531 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.069e-05/0.00338, allocations: 12 kB / 0.8799 GB, free: 4.52 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.361e-05/0.003394, allocations: 9.594 kB / 0.8799 GB, free: 4.512 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.326e-05/0.003417, allocations: 15.92 kB / 0.8799 GB, free: 4.496 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000116/0.003533, allocations: 47.83 kB / 0.88 GB, free: 4.449 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.003535, allocations: 0 / 0.88 GB, free: 4.449 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.51e-07/0.003536, allocations: 1 kB / 0.88 GB, free: 4.449 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.00354, allocations: 0 / 0.88 GB, free: 4.449 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.0003914/0.003932, allocations: 392.4 kB / 0.8803 GB, free: 4.027 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.003966, allocations: 13.03 kB / 0.8804 GB, free: 4.016 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000122/0.004088, allocations: 20.92 kB / 0.8804 GB, free: 3.996 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.004239, allocations: 133.6 kB / 0.8805 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.004258, allocations: 4.375 kB / 0.8805 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.947e-06/0.004267, allocations: 384 / 0.8805 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.004377, allocations: 68 kB / 0.8806 GB, free: 3.762 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.004384, allocations: 192 / 0.8806 GB, free: 3.762 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.004394, allocations: 4.375 kB / 0.8806 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.004402, allocations: 1.25 kB / 0.8806 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.352e-05/0.004436, allocations: 15.92 kB / 0.8806 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003739/0.004809, allocations: 281.4 kB / 0.8809 GB, free: 3.434 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001643/0.004974, allocations: 58.97 kB / 0.8809 GB, free: 3.363 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.277e-05/0.004997, allocations: 16.33 kB / 0.8809 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.479e-05/0.005011, allocations: 1.844 kB / 0.8809 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.005035, allocations: 41.33 kB / 0.881 GB, free: 3.293 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.005036, allocations: 0 / 0.881 GB, free: 3.293 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001585/0.005195, allocations: 53.58 kB / 0.881 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.463e-05/0.005229, allocations: 55.41 kB / 0.8811 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.00533, allocations: 183.2 kB / 0.8813 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.005347, allocations: 25.7 kB / 0.8813 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.478e-05/0.005411, allocations: 138.9 kB / 0.8814 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.098e-05/0.005432, allocations: 12.34 kB / 0.8814 GB, free: 2.789 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.313e-05/0.005466, allocations: 31.36 kB / 0.8815 GB, free: 2.75 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.005591, allocations: 493.2 kB / 0.8819 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.749e-05/0.005608, allocations: 4 kB / 0.8819 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.475e-05/0.005663, allocations: 58.66 kB / 0.882 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.748e-05/0.005701, allocations: 15.69 kB / 0.882 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.005703, allocations: 0 / 0.882 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.877e-05/0.005772, allocations: 53.56 kB / 0.8821 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.005784, allocations: 11.94 kB / 0.8821 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.005789, allocations: 2.562 kB / 0.8821 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.005802, allocations: 0 / 0.8821 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.257e-05/0.005834, allocations: 8.312 kB / 0.8821 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.00584, allocations: 0 / 0.8821 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.477e-05/0.005864, allocations: 7.953 kB / 0.8821 GB, free: 2.078 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.00587, allocations: 4 kB / 0.8821 GB, free: 2.074 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.321e-05/0.005934, allocations: 158.5 kB / 0.8822 GB, free: 1.91 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.715e-05/0.005951, allocations: 11.92 kB / 0.8822 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.184e-05/0.005973, allocations: 11.98 kB / 0.8823 GB, free: 1.887 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.005975, allocations: 0 / 0.8823 GB, free: 1.887 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.00598, allocations: 4 kB / 0.8823 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.005982, allocations: 0.7188 kB / 0.8823 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.821e-05/0.006081, allocations: 128.7 kB / 0.8824 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.006081, allocations: 4 kB / 0.8824 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.539e-05/0.006097, allocations: 7.984 kB / 0.8824 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.006099, allocations: 0 / 0.8824 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.006107, allocations: 3.938 kB / 0.8824 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.006108, allocations: 3.938 kB / 0.8824 GB, free: 1.703 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.006109, allocations: 0 / 0.8824 GB, free: 1.703 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001042/0.006214, allocations: 195.9 kB / 0.8826 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.244e-05/0.006226, allocations: 3.953 kB / 0.8826 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/0.006243, allocations: 7.938 kB / 0.8826 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.286e-05/0.006276, allocations: 3.984 kB / 0.8826 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.303e-05/0.006319, allocations: 11.98 kB / 0.8826 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-06/0.006322, allocations: 0 / 0.8826 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.784e-05/0.006379, allocations: 135.2 kB / 0.8827 GB, free: 1.332 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.00638, allocations: 4 kB / 0.8828 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001482/0.006528, allocations: 8 kB / 0.8828 GB, free: 1.32 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.541e-05/0.006603, allocations: 95.25 kB / 0.8829 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.232e-05/0.006695, allocations: 23.61 kB / 0.8829 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.006698, allocations: 4 kB / 0.8829 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.09e-05/0.006719, allocations: 19.69 kB / 0.8829 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000173/0.006892, allocations: 11.92 kB / 0.8829 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004612/0.007353, allocations: 162 kB / 0.8831 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.65e-05/0.00739, allocations: 59.34 kB / 0.8831 GB, free: 0.8828 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.387e-05/0.007423, allocations: 8 kB / 0.8831 GB, free: 0.875 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.795e-05/0.007461, allocations: 12.5 kB / 0.8831 GB, free: 0.8594 MB / 0.8386 GB Notification: Performance of SimCode: time 6.91e-07/0.007462, allocations: 0 / 0.8831 GB, free: 0.8594 MB / 0.8386 GB Notification: Performance of Templates: time 0.002519/0.009981, allocations: 0.7775 MB / 0.8839 GB, free: 100 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.191720929928124]