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.001448/0.001448, allocations: 79.44 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001794/0.001794, allocations: 166.6 kB / 22.46 MB, free: 5.379 MB / 14.72 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 1.528/1.528, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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 3.035/3.035, allocations: 389 MB / 0.633 GB, free: 0.9609 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.617e-06/3.617e-06, allocations: 0 / 1 GB, free: 7.305 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.96e-05/4.322e-05, allocations: 2.281 kB / 1 GB, free: 7.301 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.002339/0.002382, allocations: 0.6911 MB / 1.001 GB, free: 6.617 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001483/0.003865, allocations: 0.886 MB / 1.002 GB, free: 5.719 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.499e-05/0.00394, allocations: 0 / 1.002 GB, free: 5.719 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.415e-05/0.003975, allocations: 3.938 kB / 1.002 GB, free: 5.715 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001199/0.004094, allocations: 11.86 kB / 1.002 GB, free: 5.703 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002531/0.004348, allocations: 27.91 kB / 1.002 GB, free: 5.676 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001242/0.004472, allocations: 67.78 kB / 1.002 GB, free: 5.609 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.004599, allocations: 11.94 kB / 1.002 GB, free: 5.598 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002106/0.004809, allocations: 43.89 kB / 1.002 GB, free: 5.555 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 9.335e-05/0.004903, allocations: 15.98 kB / 1.002 GB, free: 5.539 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.708e-05/0.00493, allocations: 4 kB / 1.002 GB, free: 5.535 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 5.855e-05/0.004988, allocations: 11.98 kB / 1.002 GB, free: 5.523 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.511e-05/0.005013, allocations: 15.94 kB / 1.002 GB, free: 5.508 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.257e-05/0.005056, allocations: 15.97 kB / 1.002 GB, free: 5.492 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001943/0.00525, allocations: 71.77 kB / 1.002 GB, free: 5.422 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.005253, allocations: 3.938 kB / 1.002 GB, free: 5.418 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.182e-06/0.005255, allocations: 4 kB / 1.002 GB, free: 5.414 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.511e-06/0.00526, allocations: 0 / 1.002 GB, free: 5.414 MB / 0.9512 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.0005786/0.005839, allocations: 298.1 kB / 1.002 GB, free: 5.09 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.005885, allocations: 8.031 kB / 1.002 GB, free: 5.082 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001855/0.006071, allocations: 20.88 kB / 1.002 GB, free: 5.062 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000291/0.006362, allocations: 133.6 kB / 1.002 GB, free: 4.906 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.298e-05/0.006385, allocations: 8.359 kB / 1.002 GB, free: 4.898 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.55e-05/0.0064, allocations: 4.375 kB / 1.002 GB, free: 4.895 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001685/0.006569, allocations: 50.25 kB / 1.002 GB, free: 4.84 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.00658, allocations: 4.188 kB / 1.002 GB, free: 4.836 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.006594, allocations: 4.375 kB / 1.002 GB, free: 4.832 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.006603, allocations: 4.359 kB / 1.002 GB, free: 4.828 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001197/0.006723, allocations: 39.8 kB / 1.002 GB, free: 4.789 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005277/0.00725, allocations: 236.5 kB / 1.003 GB, free: 4.527 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003169/0.007567, allocations: 62.59 kB / 1.003 GB, free: 4.457 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.902e-05/0.007636, allocations: 24.8 kB / 1.003 GB, free: 4.43 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.007656, allocations: 0 / 1.003 GB, free: 4.43 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/0.00769, allocations: 42.58 kB / 1.003 GB, free: 4.379 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.163e-06/0.007691, allocations: 0 / 1.003 GB, free: 4.379 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0002974/0.007988, allocations: 65.67 kB / 1.003 GB, free: 4.309 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.811e-05/0.008046, allocations: 51.41 kB / 1.003 GB, free: 4.246 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.008175, allocations: 121.8 kB / 1.003 GB, free: 4.117 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.752e-05/0.008202, allocations: 29.7 kB / 1.003 GB, free: 4.082 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.326e-05/0.008286, allocations: 92.12 kB / 1.003 GB, free: 3.988 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.241e-05/0.008308, allocations: 11.95 kB / 1.003 GB, free: 3.977 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.477e-05/0.008363, allocations: 17.72 kB / 1.003 GB, free: 3.953 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001619/0.008525, allocations: 318.8 kB / 1.004 GB, free: 3.633 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.204e-05/0.008587, allocations: 19.92 kB / 1.004 GB, free: 3.613 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.75e-05/0.008684, allocations: 51.42 kB / 1.004 GB, free: 3.551 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.216e-05/0.008777, allocations: 28.83 kB / 1.004 GB, free: 3.52 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.008778, allocations: 0 / 1.004 GB, free: 3.52 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001641/0.008943, allocations: 73.86 kB / 1.004 GB, free: 3.441 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.008963, allocations: 4.031 kB / 1.004 GB, free: 3.438 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.008969, allocations: 4.047 kB / 1.004 GB, free: 3.434 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/0.00899, allocations: 3.984 kB / 1.004 GB, free: 3.43 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.07e-05/0.00905, allocations: 15.92 kB / 1.004 GB, free: 3.414 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.009058, allocations: 7.938 kB / 1.004 GB, free: 3.406 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.408e-05/0.009122, allocations: 11.92 kB / 1.004 GB, free: 3.395 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.009129, allocations: 0 / 1.004 GB, free: 3.395 MB / 0.9512 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.0001175/0.009246, allocations: 113.8 kB / 1.004 GB, free: 3.273 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.441e-05/0.009281, allocations: 11.89 kB / 1.004 GB, free: 3.262 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.673e-05/0.009317, allocations: 8 kB / 1.004 GB, free: 3.25 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.009319, allocations: 4 kB / 1.004 GB, free: 3.246 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.009326, allocations: 4 kB / 1.004 GB, free: 3.242 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.009329, allocations: 0 / 1.004 GB, free: 3.242 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001713/0.0095, allocations: 113.3 kB / 1.004 GB, free: 3.102 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.009501, allocations: 0 / 1.004 GB, free: 3.102 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.324e-05/0.009544, allocations: 4 kB / 1.004 GB, free: 3.098 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.009546, allocations: 0 / 1.004 GB, free: 3.098 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.009559, allocations: 3.938 kB / 1.004 GB, free: 3.094 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.795e-05/0.009627, allocations: 4 kB / 1.004 GB, free: 3.09 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.009632, allocations: 3.984 kB / 1.004 GB, free: 3.086 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002148/0.009847, allocations: 159.4 kB / 1.004 GB, free: 2.914 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 1.407e-05/0.009861, allocations: 3.984 kB / 1.004 GB, free: 2.91 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.534e-05/0.009886, allocations: 15.88 kB / 1.004 GB, free: 2.895 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.229e-05/0.009959, allocations: 0 / 1.004 GB, free: 2.895 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.135e-05/0.01001, allocations: 7.984 kB / 1.004 GB, free: 2.887 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.01002, allocations: 7.984 kB / 1.004 GB, free: 2.879 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 7.978e-05/0.0101, allocations: 91.72 kB / 1.004 GB, free: 2.789 MB / 0.9512 GB Notification: Performance of sort global known variables: time 7e-08/0.0101, allocations: 0 / 1.004 GB, free: 2.789 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002279/0.01033, allocations: 8 kB / 1.004 GB, free: 2.781 MB / 0.9512 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.0001307/0.01046, allocations: 103.2 kB / 1.004 GB, free: 2.672 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001878/0.01065, allocations: 31.98 kB / 1.004 GB, free: 2.641 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.01065, allocations: 0 / 1.004 GB, free: 2.641 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 7.853e-05/0.01073, allocations: 23.92 kB / 1.004 GB, free: 2.617 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003301/0.01106, allocations: 336 / 1.004 GB, free: 2.617 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004465/0.01151, allocations: 158.5 kB / 1.005 GB, free: 2.438 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.599e-05/0.01158, allocations: 67.34 kB / 1.005 GB, free: 2.352 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.885e-05/0.01163, allocations: 7.984 kB / 1.005 GB, free: 2.344 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.305e-05/0.01167, allocations: 20.44 kB / 1.005 GB, free: 2.324 MB / 0.9512 GB Notification: Performance of SimCode: time 4.7e-07/0.01167, allocations: 0 / 1.005 GB, free: 2.324 MB / 0.9512 GB Notification: Performance of Templates: time 0.004043/0.01572, allocations: 0.7398 MB / 1.005 GB, free: 1.59 MB / 0.9512 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 -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: 8.689677134156227]