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.001216/0.001216, allocations: 92.7 kB / 20.21 MB, free: 4.223 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.00114/0.00114, allocations: 161.3 kB / 23.51 MB, free: 0.918 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.978/0.978, allocations: 177.1 MB / 203.9 MB, free: 5.609 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 1.877/1.877, allocations: 393.3 MB / 0.6383 GB, free: 8.266 MB / 0.6042 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 3.096e-06/3.096e-06, allocations: 0 / 0.8312 GB, free: 10.87 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.584e-05/3.893e-05, allocations: 2.969 kB / 0.8312 GB, free: 10.86 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.001883/0.001922, allocations: 0.6918 MB / 0.8318 GB, free: 10.2 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001261/0.003183, allocations: 0.8773 MB / 0.8327 GB, free: 9.309 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.085e-05/0.003244, allocations: 0 / 0.8327 GB, free: 9.309 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.791e-05/0.003282, allocations: 4.484 kB / 0.8327 GB, free: 9.305 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0001118/0.003393, allocations: 13.31 kB / 0.8327 GB, free: 9.293 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002479/0.003641, allocations: 23.91 kB / 0.8327 GB, free: 9.27 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.003757, allocations: 59.78 kB / 0.8328 GB, free: 9.211 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.003891, allocations: 20.55 kB / 0.8328 GB, free: 9.191 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001907/0.004082, allocations: 45.17 kB / 0.8328 GB, free: 9.148 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 7.524e-05/0.004157, allocations: 19.92 kB / 0.8329 GB, free: 9.129 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.004177, allocations: 8 kB / 0.8329 GB, free: 9.121 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 4.344e-05/0.00422, allocations: 8.844 kB / 0.8329 GB, free: 9.113 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.728e-05/0.004238, allocations: 11.92 kB / 0.8329 GB, free: 9.102 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.554e-05/0.004263, allocations: 16.55 kB / 0.8329 GB, free: 9.086 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001418/0.004405, allocations: 83.69 kB / 0.833 GB, free: 9.004 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.004408, allocations: 0.9375 kB / 0.833 GB, free: 9.004 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.212e-06/0.004409, allocations: 0 / 0.833 GB, free: 9.004 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 7.635e-06/0.004417, allocations: 1.062 kB / 0.833 GB, free: 9.004 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.0003899/0.004806, allocations: 290.1 kB / 0.8333 GB, free: 8.688 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.004844, allocations: 12.69 kB / 0.8333 GB, free: 8.676 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001297/0.004974, allocations: 14.08 kB / 0.8333 GB, free: 8.664 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001882/0.005162, allocations: 145.4 kB / 0.8334 GB, free: 8.5 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.005176, allocations: 4.375 kB / 0.8334 GB, free: 8.496 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.192e-05/0.005188, allocations: 5.969 kB / 0.8334 GB, free: 8.492 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/0.005296, allocations: 58.22 kB / 0.8335 GB, free: 8.43 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.005302, allocations: 192 / 0.8335 GB, free: 8.43 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.005312, allocations: 384 / 0.8335 GB, free: 8.43 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.005318, allocations: 5.188 kB / 0.8335 GB, free: 8.426 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.647e-05/0.005385, allocations: 39.84 kB / 0.8335 GB, free: 8.387 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003118/0.005697, allocations: 230.4 kB / 0.8338 GB, free: 8.133 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001899/0.005887, allocations: 75.59 kB / 0.8338 GB, free: 8.051 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.203e-05/0.005919, allocations: 12.84 kB / 0.8338 GB, free: 8.035 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.005937, allocations: 4.531 kB / 0.8339 GB, free: 8.031 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/0.00596, allocations: 39.28 kB / 0.8339 GB, free: 7.984 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=3): time 2.224e-06/0.005962, allocations: 3.984 kB / 0.8339 GB, free: 7.98 MB / 0.7917 GB Notification: Performance of matching and sorting (n=3): time 0.0002063/0.006168, allocations: 74.3 kB / 0.834 GB, free: 7.902 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/0.006202, allocations: 52.66 kB / 0.834 GB, free: 7.84 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.184e-05/0.006284, allocations: 117.8 kB / 0.8341 GB, free: 7.715 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.006298, allocations: 29.7 kB / 0.8342 GB, free: 7.68 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 5.37e-05/0.006352, allocations: 97.88 kB / 0.8342 GB, free: 7.582 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 1.692e-05/0.006369, allocations: 8.016 kB / 0.8343 GB, free: 7.574 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.02e-05/0.006399, allocations: 21.66 kB / 0.8343 GB, free: 7.547 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 8.864e-05/0.006488, allocations: 314.8 kB / 0.8346 GB, free: 7.23 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.69e-05/0.006525, allocations: 16 kB / 0.8346 GB, free: 7.215 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.652e-05/0.006581, allocations: 55.97 kB / 0.8346 GB, free: 7.148 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.792e-05/0.006639, allocations: 30.78 kB / 0.8347 GB, free: 7.117 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.006641, allocations: 0 / 0.8347 GB, free: 7.117 MB / 0.7917 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.694e-05/0.006738, allocations: 73.56 kB / 0.8347 GB, free: 7.039 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.006756, allocations: 8 kB / 0.8348 GB, free: 7.031 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.006761, allocations: 1.656 kB / 0.8348 GB, free: 7.031 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.006779, allocations: 0 / 0.8348 GB, free: 7.031 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.272e-05/0.006822, allocations: 11.92 kB / 0.8348 GB, free: 7.02 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.006828, allocations: 0 / 0.8348 GB, free: 7.02 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.089e-05/0.006859, allocations: 8.875 kB / 0.8348 GB, free: 7.012 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-06/0.006866, allocations: 8 kB / 0.8348 GB, free: 7.004 MB / 0.7917 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 7.445e-05/0.00694, allocations: 118.9 kB / 0.8349 GB, free: 6.879 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.155e-05/0.006962, allocations: 7.891 kB / 0.8349 GB, free: 6.871 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.606e-05/0.006988, allocations: 12.88 kB / 0.8349 GB, free: 6.855 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.006991, allocations: 0 / 0.8349 GB, free: 6.855 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.006995, allocations: 0.8125 kB / 0.8349 GB, free: 6.855 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.006998, allocations: 0 / 0.8349 GB, free: 6.855 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001161/0.007114, allocations: 114.2 kB / 0.835 GB, free: 6.715 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.007116, allocations: 3.938 kB / 0.835 GB, free: 6.711 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.628e-05/0.007142, allocations: 7.984 kB / 0.835 GB, free: 6.703 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.007144, allocations: 1.219 kB / 0.835 GB, free: 6.703 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.007154, allocations: 7.938 kB / 0.835 GB, free: 6.695 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.007155, allocations: 0 / 0.835 GB, free: 6.695 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.007156, allocations: 0.875 kB / 0.835 GB, free: 6.695 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001341/0.00729, allocations: 159.4 kB / 0.8352 GB, free: 6.523 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 1.091e-05/0.007301, allocations: 6.219 kB / 0.8352 GB, free: 6.52 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.007316, allocations: 3.938 kB / 0.8352 GB, free: 6.516 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.787e-05/0.007354, allocations: 7.984 kB / 0.8352 GB, free: 6.508 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.769e-05/0.007401, allocations: 8.359 kB / 0.8352 GB, free: 6.5 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.007405, allocations: 0 / 0.8352 GB, free: 6.5 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 4.149e-05/0.007446, allocations: 102.4 kB / 0.8353 GB, free: 6.402 MB / 0.7917 GB Notification: Performance of sort global known variables: time 5e-08/0.007447, allocations: 0 / 0.8353 GB, free: 6.402 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.000155/0.007602, allocations: 11.95 kB / 0.8353 GB, free: 6.391 MB / 0.7917 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 8.739e-05/0.007689, allocations: 91.25 kB / 0.8354 GB, free: 6.293 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0001278/0.007817, allocations: 43.89 kB / 0.8355 GB, free: 6.25 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.007818, allocations: 0 / 0.8355 GB, free: 6.25 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 3.346e-05/0.007852, allocations: 17.2 kB / 0.8355 GB, free: 6.234 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002525/0.008104, allocations: 8.781 kB / 0.8355 GB, free: 6.227 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003181/0.008422, allocations: 161.3 kB / 0.8356 GB, free: 6.043 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.828e-05/0.008481, allocations: 70.94 kB / 0.8357 GB, free: 5.957 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 3.565e-05/0.008516, allocations: 7.984 kB / 0.8357 GB, free: 5.949 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.429e-05/0.008551, allocations: 12.5 kB / 0.8357 GB, free: 5.938 MB / 0.7917 GB Notification: Performance of SimCode: time 6.51e-07/0.008551, allocations: 0 / 0.8357 GB, free: 5.938 MB / 0.7917 GB Notification: Performance of Templates: time 0.002459/0.01101, allocations: 0.751 MB / 0.8365 GB, free: 5.223 MB / 0.7917 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=800 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 5.183711916208267]