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.0007739/0.0007739, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001071/0.001845, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006842/0.0006842, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009362/0.00162, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9325/0.9325, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08992/1.022, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.429/2.429, allocations: 447.1 MB / 0.675 GB, free: 5.879 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2387/2.668, allocations: 146 MB / 0.8176 GB, free: 3.793 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.054e-06/2.054e-06, allocations: 0 / 0.8189 GB, free: 2.512 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.429e-05/1.634e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.508 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.001676/0.001692, allocations: 0.7443 MB / 0.8196 GB, free: 1.758 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0009971/0.002689, allocations: 0.9131 MB / 0.8205 GB, free: 0.832 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.269e-05/0.002732, allocations: 0 / 0.8205 GB, free: 0.832 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.66e-05/0.002759, allocations: 7.875 kB / 0.8205 GB, free: 0.8242 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 5.578e-05/0.002814, allocations: 15.86 kB / 0.8205 GB, free: 0.8086 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001118/0.002926, allocations: 23.92 kB / 0.8205 GB, free: 0.7852 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 9.37e-05/0.00302, allocations: 59.78 kB / 0.8206 GB, free: 0.7266 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 9.473e-05/0.003115, allocations: 19.92 kB / 0.8206 GB, free: 0.707 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001779/0.003292, allocations: 59.83 kB / 0.8207 GB, free: 0.6484 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 6.596e-05/0.003358, allocations: 19.91 kB / 0.8207 GB, free: 0.6289 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.003376, allocations: 4 kB / 0.8207 GB, free: 0.625 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 5.23e-05/0.003428, allocations: 8 kB / 0.8207 GB, free: 0.6172 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.832e-05/0.003446, allocations: 11.94 kB / 0.8207 GB, free: 0.6055 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.13e-05/0.003468, allocations: 8 kB / 0.8207 GB, free: 0.5977 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001239/0.003592, allocations: 43.8 kB / 0.8208 GB, free: 0.5547 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.269e-05/0.003604, allocations: 0 / 0.8208 GB, free: 0.5547 MB / 0.7917 GB Notification: Performance of FrontEnd: time 6.71e-07/0.003605, allocations: 0 / 0.8208 GB, free: 0.5547 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.456e-05/0.00362, allocations: 0 / 0.8208 GB, free: 0.5547 MB / 0.7917 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.0004496/0.004069, allocations: 276.4 kB / 0.821 GB, free: 264 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.004103, allocations: 8.031 kB / 0.821 GB, free: 256 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001621/0.004265, allocations: 94.03 kB / 0.8211 GB, free: 144 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001693/0.004435, allocations: 133.7 kB / 0.8213 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.004453, allocations: 4.375 kB / 0.8213 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.004465, allocations: 4.375 kB / 0.8213 GB, free: 15.97 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.996e-05/0.004565, allocations: 58.94 kB / 0.8213 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.004573, allocations: 4.125 kB / 0.8213 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.253e-06/0.00458, allocations: 384 / 0.8213 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.004586, allocations: 384 / 0.8213 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.755e-05/0.004614, allocations: 11.94 kB / 0.8213 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002446/0.004858, allocations: 176.1 kB / 0.8215 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.005002, allocations: 46.55 kB / 0.8216 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.711e-05/0.005019, allocations: 12.94 kB / 0.8216 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.182e-05/0.005031, allocations: 0 / 0.8216 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.005055, allocations: 34.56 kB / 0.8216 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.005056, allocations: 0 / 0.8216 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0001238/0.005179, allocations: 49.56 kB / 0.8216 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.913e-05/0.005209, allocations: 55.41 kB / 0.8217 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.79e-05/0.005286, allocations: 122.8 kB / 0.8218 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.005304, allocations: 29.7 kB / 0.8218 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.206e-05/0.005346, allocations: 92.06 kB / 0.8219 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.65e-05/0.005362, allocations: 11.94 kB / 0.8219 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.274e-05/0.005395, allocations: 17.72 kB / 0.822 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.246e-05/0.005477, allocations: 318.8 kB / 0.8223 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.186e-05/0.005489, allocations: 4 kB / 0.8223 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.451e-05/0.005524, allocations: 43.41 kB / 0.8223 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.007e-05/0.005554, allocations: 16.8 kB / 0.8223 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.005556, allocations: 0 / 0.8223 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.809e-05/0.005614, allocations: 50 kB / 0.8224 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.005626, allocations: 4 kB / 0.8224 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.005632, allocations: 7.922 kB / 0.8224 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.005646, allocations: 4 kB / 0.8224 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.463e-05/0.00569, allocations: 4.047 kB / 0.8224 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.585e-06/0.005693, allocations: 0 / 0.8224 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.03e-05/0.005723, allocations: 11.94 kB / 0.8224 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-06/0.005729, allocations: 3.984 kB / 0.8224 GB, free: 14.69 MB / 0.8073 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 5.876e-05/0.005788, allocations: 113.8 kB / 0.8225 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.712e-05/0.005805, allocations: 4 kB / 0.8225 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.722e-05/0.005832, allocations: 23.81 kB / 0.8225 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.005834, allocations: 0 / 0.8225 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.005836, allocations: 0 / 0.8225 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.005839, allocations: 0 / 0.8225 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001066/0.005945, allocations: 73.88 kB / 0.8226 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.005946, allocations: 0 / 0.8226 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.573e-05/0.005972, allocations: 7.984 kB / 0.8226 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 9.177e-06/0.005981, allocations: 4 kB / 0.8226 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.153e-06/0.005982, allocations: 0 / 0.8226 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.278e-06/0.005986, allocations: 0 / 0.8226 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.005988, allocations: 7.938 kB / 0.8226 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.005989, allocations: 0 / 0.8226 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001431/0.006132, allocations: 131.5 kB / 0.8228 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.006151, allocations: 11.98 kB / 0.8228 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.059e-05/0.006201, allocations: 0 / 0.8228 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.742e-05/0.006239, allocations: 11.92 kB / 0.8228 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.006242, allocations: 3.938 kB / 0.8228 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.237e-05/0.006264, allocations: 20.83 kB / 0.8228 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.006264, allocations: 0 / 0.8228 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000179/0.006443, allocations: 15.95 kB / 0.8228 GB, free: 14.21 MB / 0.8073 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.586e-05/0.006519, allocations: 84.42 kB / 0.8229 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.08e-05/0.00659, allocations: 20.84 kB / 0.8229 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.006594, allocations: 0 / 0.8229 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.389e-05/0.006618, allocations: 12.8 kB / 0.8229 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001726/0.00679, allocations: 24.73 kB / 0.823 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008606/0.007651, allocations: 164.3 kB / 0.8231 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.49e-05/0.007686, allocations: 59.34 kB / 0.8232 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.242e-05/0.007718, allocations: 4 kB / 0.8232 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.763e-05/0.007776, allocations: 59.36 kB / 0.8232 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of SimCode: time 5.51e-07/0.007776, allocations: 0 / 0.8232 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of Templates: time 0.002677/0.01045, allocations: 0.8242 MB / 0.824 GB, free: 12.92 MB / 0.8073 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.2016024850308895]