Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_H.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0015/0.0015, allocations: 110.5 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001902/0.001902, allocations: 186.7 kB / 20.78 MB, free: 1.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.544/1.544, allocations: 225.6 MB / 249.4 MB, free: 3.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.632/2.632, allocations: 443.4 MB / 0.7304 GB, free: 13.88 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Controls.OBC.Shade.Validation.Shade_H") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 63.91 kB / 1.059 GB, free: 400 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3761/0.3781, allocations: 160.7 MB / 1.216 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.002056/0.3801, allocations: 0.7127 MB / 1.217 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001056/0.3812, allocations: 0.8468 MB / 1.218 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.641e-05/0.3812, allocations: 0 / 1.218 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.869e-05/0.3813, allocations: 3.938 kB / 1.218 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001031/0.3814, allocations: 19.84 kB / 1.218 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001631/0.3815, allocations: 19.98 kB / 1.218 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.833e-05/0.3816, allocations: 63.72 kB / 1.218 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.3818, allocations: 12 kB / 1.218 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.3819, allocations: 27.91 kB / 1.218 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.01e-05/0.382, allocations: 23.91 kB / 1.218 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.945e-05/0.382, allocations: 4 kB / 1.218 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.577e-05/0.382, allocations: 8 kB / 1.218 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.428e-05/0.382, allocations: 11.94 kB / 1.218 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.177e-05/0.3821, allocations: 31.86 kB / 1.218 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001418/0.3822, allocations: 67.7 kB / 1.218 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3822, allocations: 0 / 1.218 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3822, allocations: 0 / 1.218 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.3822, allocations: 0 / 1.218 GB, free: 13.5 MB / 0.9669 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.0005735/0.3828, allocations: 379.1 kB / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.3828, allocations: 8.031 kB / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.458e-05/0.3829, allocations: 8.891 kB / 1.218 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003129/0.3832, allocations: 192.2 kB / 1.218 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.3832, allocations: 4.375 kB / 1.218 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.476e-05/0.3832, allocations: 4.375 kB / 1.218 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.3834, allocations: 62.22 kB / 1.219 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.3834, allocations: 192 / 1.219 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.3834, allocations: 7.938 kB / 1.219 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.3834, allocations: 0 / 1.219 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001071/0.3835, allocations: 31.92 kB / 1.219 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004565/0.384, allocations: 292.8 kB / 1.219 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002775/0.3842, allocations: 70.47 kB / 1.219 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.792e-05/0.3843, allocations: 21 kB / 1.219 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.3843, allocations: 7.922 kB / 1.219 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.3843, allocations: 34.56 kB / 1.219 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.3844, allocations: 0 / 1.219 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0002553/0.3846, allocations: 73.62 kB / 1.219 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.763e-05/0.3847, allocations: 51.41 kB / 1.219 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.3848, allocations: 121.8 kB / 1.219 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.3848, allocations: 29.7 kB / 1.219 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.307e-05/0.3848, allocations: 88.09 kB / 1.219 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.137e-05/0.3849, allocations: 19.94 kB / 1.219 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.779e-05/0.3849, allocations: 13.72 kB / 1.219 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.385, allocations: 318.8 kB / 1.22 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.345e-05/0.3851, allocations: 19.92 kB / 1.22 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.448e-05/0.3852, allocations: 37.64 kB / 1.22 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.183e-05/0.3853, allocations: 24.84 kB / 1.22 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3853, allocations: 4.031 kB / 1.22 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001417/0.3854, allocations: 65.62 kB / 1.22 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.3854, allocations: 8 kB / 1.22 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.3854, allocations: 0 / 1.22 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.3854, allocations: 0 / 1.22 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.876e-05/0.3855, allocations: 4 kB / 1.22 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.3855, allocations: 3.938 kB / 1.22 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.142e-05/0.3855, allocations: 15.92 kB / 1.22 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.3856, allocations: 0 / 1.22 GB, free: 11.28 MB / 0.9669 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 0.0001034/0.3857, allocations: 121.8 kB / 1.22 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.412e-05/0.3857, allocations: 0 / 1.22 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.672e-05/0.3857, allocations: 15.89 kB / 1.22 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.3857, allocations: 0 / 1.22 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.3857, allocations: 0 / 1.22 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.3857, allocations: 0 / 1.22 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002018/0.3859, allocations: 173.6 kB / 1.22 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.3859, allocations: 7.938 kB / 1.22 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.823e-05/0.386, allocations: 11.98 kB / 1.22 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.386, allocations: 4 kB / 1.22 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.386, allocations: 0 / 1.22 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.386, allocations: 3.984 kB / 1.22 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.386, allocations: 0 / 1.22 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001934/0.3862, allocations: 163.4 kB / 1.22 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.867e-05/0.3862, allocations: 85.06 kB / 1.22 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/0.3863, allocations: 0 / 1.22 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.315e-05/0.3863, allocations: 15.98 kB / 1.22 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.437e-05/0.3864, allocations: 8.359 kB / 1.22 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.3864, allocations: 0 / 1.22 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.131e-05/0.3864, allocations: 99.27 kB / 1.22 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.3864, allocations: 0 / 1.22 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002214/0.3867, allocations: 4 kB / 1.22 GB, free: 10.48 MB / 0.9669 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 0.000115/0.3868, allocations: 95.25 kB / 1.221 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001806/0.387, allocations: 43.95 kB / 1.221 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.387, allocations: 0 / 1.221 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.78e-05/0.387, allocations: 19.94 kB / 1.221 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002886/0.3873, allocations: 15.5 kB / 1.221 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003888/0.3877, allocations: 172.6 kB / 1.221 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003256/0.388, allocations: 0.6898 MB / 1.222 GB, free: 9.398 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.924e-05/0.3881, allocations: 8 kB / 1.222 GB, free: 9.391 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.83e-05/0.3881, allocations: 15.42 kB / 1.222 GB, free: 9.375 MB / 0.9669 GB Notification: Performance of SimCode: time 3.3e-07/0.3881, allocations: 0 / 1.222 GB, free: 9.375 MB / 0.9669 GB Notification: Performance of Templates: time 0.00322/0.3913, allocations: 0.7111 MB / 1.222 GB, free: 8.664 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_H.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & ./Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_H -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_Shade_Validation_Shade_H.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_H.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.741208475083113]