Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.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.001792/0.001792, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.002112/0.002112, allocations: 204.4 kB / 22.18 MB, free: 5.207 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.555/1.555, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.918/2.918, allocations: 476.7 MB / 0.7645 GB, free: 10.14 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|shaT.THigh|shaT.TLow|shaT.T|shaT.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.Shade.Validation.Shade_T") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 63.91 kB / 1.109 GB, free: 6.637 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9818/0.9838, allocations: 168.7 MB / 1.274 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.002353/0.9862, allocations: 0.7107 MB / 1.275 GB, free: 3.887 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001288/0.9874, allocations: 0.8507 MB / 1.276 GB, free: 3.023 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.059e-05/0.9875, allocations: 4 kB / 1.276 GB, free: 3.02 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.225e-05/0.9876, allocations: 7.922 kB / 1.276 GB, free: 3.012 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.872e-05/0.9877, allocations: 3.938 kB / 1.276 GB, free: 3.008 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001767/0.9878, allocations: 23.92 kB / 1.276 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001184/0.9879, allocations: 63.78 kB / 1.276 GB, free: 2.922 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001349/0.9881, allocations: 19.92 kB / 1.276 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001089/0.9882, allocations: 27.92 kB / 1.276 GB, free: 2.875 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.971e-05/0.9883, allocations: 23.86 kB / 1.276 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.989e-05/0.9883, allocations: 7.938 kB / 1.276 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.508e-05/0.9883, allocations: 8 kB / 1.276 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.977e-05/0.9883, allocations: 15.92 kB / 1.276 GB, free: 2.82 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.507e-05/0.9884, allocations: 31.8 kB / 1.276 GB, free: 2.789 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001418/0.9885, allocations: 62.45 kB / 1.276 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.9885, allocations: 0 / 1.276 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.523e-06/0.9885, allocations: 0 / 1.276 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.131e-06/0.9885, allocations: 0 / 1.276 GB, free: 2.73 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.000641/0.9892, allocations: 371.3 kB / 1.276 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.9892, allocations: 8.031 kB / 1.276 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.398e-05/0.9893, allocations: 8.891 kB / 1.276 GB, free: 2.301 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003426/0.9896, allocations: 200.2 kB / 1.276 GB, free: 2.066 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.9896, allocations: 384 / 1.276 GB, free: 2.066 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.024e-05/0.9897, allocations: 8.375 kB / 1.276 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001913/0.9899, allocations: 58.17 kB / 1.276 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.9899, allocations: 8.188 kB / 1.276 GB, free: 1.988 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.797e-05/0.9899, allocations: 3.938 kB / 1.276 GB, free: 1.984 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.9899, allocations: 0 / 1.276 GB, free: 1.984 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001195/0.99, allocations: 27.98 kB / 1.276 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006265/0.9906, allocations: 288.8 kB / 1.277 GB, free: 1.625 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003373/0.991, allocations: 74.56 kB / 1.277 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.306e-05/0.991, allocations: 20.91 kB / 1.277 GB, free: 1.52 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/0.9911, allocations: 0 / 1.277 GB, free: 1.52 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.932e-05/0.9911, allocations: 34.56 kB / 1.277 GB, free: 1.477 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.9911, allocations: 0 / 1.277 GB, free: 1.477 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0003445/0.9915, allocations: 85.53 kB / 1.277 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.222e-05/0.9915, allocations: 51.41 kB / 1.277 GB, free: 1.324 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001524/0.9917, allocations: 117.8 kB / 1.277 GB, free: 1.199 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.009e-05/0.9917, allocations: 29.7 kB / 1.277 GB, free: 1.164 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.9918, allocations: 96.08 kB / 1.277 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.663e-05/0.9918, allocations: 11.89 kB / 1.277 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.434e-05/0.9919, allocations: 17.72 kB / 1.277 GB, free: 1.031 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002433/0.9921, allocations: 318.8 kB / 1.278 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.672e-05/0.9922, allocations: 16 kB / 1.278 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.008e-05/0.9923, allocations: 33.7 kB / 1.278 GB, free: 0.6562 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.826e-05/0.9924, allocations: 24.84 kB / 1.278 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.9924, allocations: 0 / 1.278 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001551/0.9925, allocations: 73.56 kB / 1.278 GB, free: 0.5508 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.9926, allocations: 4 kB / 1.278 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.9926, allocations: 0 / 1.278 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.9926, allocations: 7.969 kB / 1.278 GB, free: 0.5391 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.265e-05/0.9926, allocations: 7.984 kB / 1.278 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.9927, allocations: 0 / 1.278 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.068e-05/0.9927, allocations: 8 kB / 1.278 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.9927, allocations: 3.938 kB / 1.278 GB, free: 0.5195 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 (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 0.0001428/0.9929, allocations: 122.3 kB / 1.278 GB, free: 400 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.716e-05/0.9929, allocations: 4 kB / 1.278 GB, free: 396 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.623e-05/0.9929, allocations: 7.906 kB / 1.278 GB, free: 384 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.9929, allocations: 4 kB / 1.278 GB, free: 380 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.9929, allocations: 0 / 1.278 GB, free: 380 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.9929, allocations: 0 / 1.278 GB, free: 380 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002357/0.9932, allocations: 189.6 kB / 1.278 GB, free: 140 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.9932, allocations: 0 / 1.278 GB, free: 140 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.263e-05/0.9932, allocations: 4 kB / 1.278 GB, free: 136 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.9932, allocations: 0 / 1.278 GB, free: 136 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.9932, allocations: 4 kB / 1.278 GB, free: 132 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.9932, allocations: 3.938 kB / 1.278 GB, free: 128 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.9932, allocations: 4 kB / 1.278 GB, free: 124 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000241/0.9935, allocations: 155.7 kB / 1.278 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.652e-05/0.9935, allocations: 89.05 kB / 1.278 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.819e-05/0.9935, allocations: 0 / 1.278 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.707e-05/0.9936, allocations: 4 kB / 1.278 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.629e-05/0.9937, allocations: 11.98 kB / 1.278 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.9937, allocations: 0 / 1.278 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.004e-05/0.9938, allocations: 95.27 kB / 1.278 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9938, allocations: 4 kB / 1.278 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002212/0.994, allocations: 8 kB / 1.278 GB, free: 15.72 MB / 0.9825 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 0.0001354/0.9941, allocations: 102.1 kB / 1.279 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001923/0.9943, allocations: 32.28 kB / 1.279 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.9943, allocations: 0 / 1.279 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.071e-05/0.9944, allocations: 19.98 kB / 1.279 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000324/0.9947, allocations: 17.48 kB / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000419/0.9951, allocations: 176.7 kB / 1.279 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003628/0.9955, allocations: 0.6845 MB / 1.279 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.271e-05/0.9955, allocations: 11.97 kB / 1.279 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.392e-05/0.9956, allocations: 15.44 kB / 1.279 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of SimCode: time 2.71e-07/0.9956, allocations: 0 / 1.279 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of Templates: time 0.003618/0.9992, allocations: 0.7127 MB / 1.28 GB, free: 13.91 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & ./Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_Shade_Validation_Shade_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.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: 9.348108726087958]