Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T.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.0008001/0.0008001, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001073/0.001873, allocations: 449.8 kB / 10.44 MB, free: 252 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.0006938/0.0006938, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009007/0.001594, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9264/0.9264, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09006/1.016, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.903/1.903, allocations: 378.4 MB / 0.6079 GB, free: 7.684 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4931/2.396, allocations: 123.3 MB / 0.7283 GB, free: 5.715 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|shaT.THigh|shaT.TLow|shaT.T|shaT.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T") translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|shaT.THigh|shaT.TLow|shaT.T|shaT.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.7296 GB, free: 4.445 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.082e-05/1.243e-05, allocations: 2.312 kB / 0.7296 GB, free: 4.441 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.001133/0.001146, allocations: 0.7525 MB / 0.7303 GB, free: 3.723 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0006974/0.001843, allocations: 0.9106 MB / 0.7312 GB, free: 2.805 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.34e-05/0.001877, allocations: 0 / 0.7312 GB, free: 2.805 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.219e-05/0.001899, allocations: 3.938 kB / 0.7312 GB, free: 2.801 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.138e-05/0.00195, allocations: 15.75 kB / 0.7313 GB, free: 2.789 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 9.681e-05/0.002047, allocations: 28.89 kB / 0.7313 GB, free: 2.762 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 8.334e-05/0.00213, allocations: 58.45 kB / 0.7313 GB, free: 2.719 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.08e-05/0.002211, allocations: 28.45 kB / 0.7314 GB, free: 2.691 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001437/0.002355, allocations: 48.23 kB / 0.7314 GB, free: 2.648 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.234e-05/0.002407, allocations: 17.55 kB / 0.7314 GB, free: 2.633 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.002422, allocations: 8 kB / 0.7314 GB, free: 2.625 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 4.969e-05/0.002472, allocations: 8.5 kB / 0.7314 GB, free: 2.617 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.923e-05/0.002491, allocations: 8 kB / 0.7314 GB, free: 2.609 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.95e-05/0.002511, allocations: 13.34 kB / 0.7315 GB, free: 2.598 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001014/0.002612, allocations: 43.78 kB / 0.7315 GB, free: 2.555 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.05e-05/0.002623, allocations: 0 / 0.7315 GB, free: 2.555 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.41e-07/0.002623, allocations: 4.438 kB / 0.7315 GB, free: 2.551 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.323e-05/0.002637, allocations: 0 / 0.7315 GB, free: 2.551 MB / 0.698 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.0003553/0.002992, allocations: 269.2 kB / 0.7318 GB, free: 2.262 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.862e-05/0.00302, allocations: 12.66 kB / 0.7318 GB, free: 2.25 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001367/0.003157, allocations: 94.91 kB / 0.7319 GB, free: 2.141 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.003277, allocations: 125.7 kB / 0.732 GB, free: 1.992 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.00329, allocations: 4.375 kB / 0.732 GB, free: 1.988 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.188e-05/0.003302, allocations: 9.219 kB / 0.732 GB, free: 1.98 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.187e-05/0.003383, allocations: 54.94 kB / 0.7321 GB, free: 1.918 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.102e-06/0.00339, allocations: 1.438 kB / 0.7321 GB, free: 1.918 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.003397, allocations: 4.375 kB / 0.7321 GB, free: 1.914 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.003403, allocations: 4.375 kB / 0.7321 GB, free: 1.91 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.431e-05/0.003427, allocations: 20.38 kB / 0.7321 GB, free: 1.891 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002062/0.003633, allocations: 170 kB / 0.7322 GB, free: 1.711 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/0.003745, allocations: 46.55 kB / 0.7323 GB, free: 1.656 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.23e-05/0.003757, allocations: 9.656 kB / 0.7323 GB, free: 1.645 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.095e-05/0.003768, allocations: 4 kB / 0.7323 GB, free: 1.641 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.003788, allocations: 43.31 kB / 0.7323 GB, free: 1.59 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.003789, allocations: 0 / 0.7323 GB, free: 1.59 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 9.595e-05/0.003885, allocations: 45.72 kB / 0.7324 GB, free: 1.539 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.327e-05/0.003908, allocations: 52.59 kB / 0.7324 GB, free: 1.477 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.747e-05/0.003966, allocations: 122.7 kB / 0.7326 GB, free: 1.344 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.00398, allocations: 29.7 kB / 0.7326 GB, free: 1.309 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.56e-05/0.004015, allocations: 93.73 kB / 0.7327 GB, free: 1.215 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.338e-05/0.004029, allocations: 11.89 kB / 0.7327 GB, free: 1.203 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.513e-05/0.004054, allocations: 17.7 kB / 0.7327 GB, free: 1.18 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.862e-05/0.004122, allocations: 318.8 kB / 0.733 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.161e-05/0.004134, allocations: 8.891 kB / 0.733 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.865e-05/0.004163, allocations: 47.36 kB / 0.7331 GB, free: 0.793 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.325e-05/0.004186, allocations: 18.09 kB / 0.7331 GB, free: 0.7734 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.004188, allocations: 0 / 0.7331 GB, free: 0.7734 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.077e-05/0.004229, allocations: 41.69 kB / 0.7331 GB, free: 0.7266 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.00424, allocations: 8 kB / 0.7331 GB, free: 0.7188 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.004244, allocations: 5.688 kB / 0.7331 GB, free: 0.7148 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.004255, allocations: 0 / 0.7331 GB, free: 0.7148 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.745e-05/0.004292, allocations: 4 kB / 0.7331 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.394e-06/0.004295, allocations: 0 / 0.7331 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.276e-05/0.004317, allocations: 13.14 kB / 0.7331 GB, free: 0.6992 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.566e-06/0.004321, allocations: 0 / 0.7331 GB, free: 0.6992 MB / 0.698 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 (shaT.hys.y,$PRE.shaT.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 4.686e-05/0.004368, allocations: 109.8 kB / 0.7332 GB, free: 0.582 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.394e-05/0.004392, allocations: 4.656 kB / 0.7333 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.412e-05/0.004416, allocations: 17.05 kB / 0.7333 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.004417, allocations: 0 / 0.7333 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-06/0.004418, allocations: 0 / 0.7333 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.043e-06/0.00442, allocations: 0.625 kB / 0.7333 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.925e-05/0.004499, allocations: 73.88 kB / 0.7333 GB, free: 476 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.0045, allocations: 5.25 kB / 0.7333 GB, free: 472 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.785e-05/0.004518, allocations: 4 kB / 0.7333 GB, free: 468 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.272e-06/0.004524, allocations: 3.953 kB / 0.7334 GB, free: 464 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.71e-07/0.004525, allocations: 5.188 kB / 0.7334 GB, free: 460 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.59e-06/0.004531, allocations: 7.984 kB / 0.7334 GB, free: 452 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.004533, allocations: 7.938 kB / 0.7334 GB, free: 444 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.004534, allocations: 0 / 0.7334 GB, free: 444 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.862e-05/0.004603, allocations: 136.8 kB / 0.7335 GB, free: 292 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.149e-05/0.004614, allocations: 0 / 0.7335 GB, free: 292 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.158e-05/0.004646, allocations: 4.531 kB / 0.7335 GB, free: 288 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.201e-05/0.004678, allocations: 11.97 kB / 0.7335 GB, free: 276 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.004682, allocations: 9.375 kB / 0.7335 GB, free: 268 kB / 0.698 GB Notification: Performance of sorting global known variables: time 1.743e-05/0.004699, allocations: 20.84 kB / 0.7335 GB, free: 244 kB / 0.698 GB Notification: Performance of sort global known variables: time 4e-08/0.004699, allocations: 0 / 0.7335 GB, free: 244 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001069/0.004806, allocations: 4 kB / 0.7335 GB, free: 240 kB / 0.698 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 (shaT.hys.y) * Number of discrete states: 1 (shaT.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.028e-05/0.004876, allocations: 82.16 kB / 0.7336 GB, free: 152 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 6.71e-05/0.004943, allocations: 20.86 kB / 0.7336 GB, free: 128 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.004948, allocations: 0.75 kB / 0.7336 GB, free: 128 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.947e-05/0.004967, allocations: 16.84 kB / 0.7337 GB, free: 108 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001398/0.005107, allocations: 17.36 kB / 0.7337 GB, free: 92 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009212/0.006028, allocations: 178.4 kB / 0.7339 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.219e-05/0.00606, allocations: 55.36 kB / 0.7339 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.841e-05/0.006089, allocations: 10.11 kB / 0.7339 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.599e-05/0.006135, allocations: 51.38 kB / 0.734 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of SimCode: time 8.21e-07/0.006136, allocations: 5.094 kB / 0.734 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of Templates: time 0.002435/0.00857, allocations: 0.8114 MB / 0.7348 GB, free: 14.98 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & ./Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T/Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T.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: 4.773357914760709]