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.000791/0.000791, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001148/0.001939, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007275/0.0007275, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009506/0.001678, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.954/0.954, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09742/1.051, allocations: 53.65 MB / 243.3 MB, free: 15.58 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.879/1.879, allocations: 378.2 MB / 0.6076 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4981/2.377, allocations: 123.3 MB / 0.728 GB, free: 5.816 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.713e-06/1.713e-06, allocations: 0 / 0.7293 GB, free: 4.574 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.253e-05/2.425e-05, allocations: 9.812 kB / 0.7293 GB, free: 4.566 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.001247/0.001271, allocations: 0.7499 MB / 0.73 GB, free: 3.84 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0007494/0.002021, allocations: 0.909 MB / 0.7309 GB, free: 2.922 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.459e-05/0.002055, allocations: 4 kB / 0.7309 GB, free: 2.918 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.188e-05/0.002077, allocations: 5.344 kB / 0.7309 GB, free: 2.914 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.599e-05/0.002123, allocations: 7.656 kB / 0.7309 GB, free: 2.91 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001045/0.002228, allocations: 32.83 kB / 0.7309 GB, free: 2.879 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 8.506e-05/0.002313, allocations: 59.97 kB / 0.731 GB, free: 2.832 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.425e-05/0.002397, allocations: 13.41 kB / 0.731 GB, free: 2.82 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001537/0.002551, allocations: 56.89 kB / 0.7311 GB, free: 2.77 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.772e-05/0.002608, allocations: 20.69 kB / 0.7311 GB, free: 2.75 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.002625, allocations: 4.688 kB / 0.7311 GB, free: 2.746 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 5.644e-05/0.002681, allocations: 8 kB / 0.7311 GB, free: 2.738 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.206e-05/0.002693, allocations: 8.438 kB / 0.7311 GB, free: 2.73 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.854e-05/0.002712, allocations: 12.88 kB / 0.7311 GB, free: 2.719 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001092/0.002821, allocations: 51.7 kB / 0.7312 GB, free: 2.668 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.518e-05/0.002836, allocations: 1.438 kB / 0.7312 GB, free: 2.668 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.11e-07/0.002837, allocations: 0 / 0.7312 GB, free: 2.668 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.616e-05/0.002853, allocations: 0 / 0.7312 GB, free: 2.668 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.0003764/0.003229, allocations: 272.5 kB / 0.7314 GB, free: 2.375 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.037e-05/0.00326, allocations: 8.688 kB / 0.7314 GB, free: 2.367 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001396/0.003399, allocations: 90.72 kB / 0.7315 GB, free: 2.262 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.003524, allocations: 125.7 kB / 0.7316 GB, free: 2.113 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.003543, allocations: 10.09 kB / 0.7317 GB, free: 2.105 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.274e-06/0.003551, allocations: 384 / 0.7317 GB, free: 2.105 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.465e-05/0.003645, allocations: 66.88 kB / 0.7317 GB, free: 2.031 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.003652, allocations: 192 / 0.7317 GB, free: 2.031 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.272e-06/0.003658, allocations: 1.188 kB / 0.7317 GB, free: 2.031 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.003663, allocations: 384 / 0.7317 GB, free: 2.031 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.07e-05/0.003694, allocations: 28.33 kB / 0.7318 GB, free: 2.004 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002115/0.003905, allocations: 164.9 kB / 0.7319 GB, free: 1.828 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001209/0.004026, allocations: 51.23 kB / 0.732 GB, free: 1.77 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.251e-05/0.004039, allocations: 14.02 kB / 0.732 GB, free: 1.754 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.143e-05/0.00405, allocations: 3.938 kB / 0.732 GB, free: 1.75 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.004069, allocations: 31.44 kB / 0.732 GB, free: 1.711 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.00407, allocations: 0 / 0.732 GB, free: 1.711 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001096/0.00418, allocations: 45.72 kB / 0.732 GB, free: 1.66 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.839e-05/0.004208, allocations: 52.03 kB / 0.7321 GB, free: 1.598 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.041e-05/0.004268, allocations: 123.4 kB / 0.7322 GB, free: 1.465 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.004284, allocations: 29.7 kB / 0.7322 GB, free: 1.43 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.562e-05/0.00432, allocations: 93.81 kB / 0.7323 GB, free: 1.336 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.4e-05/0.004334, allocations: 7.906 kB / 0.7323 GB, free: 1.328 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.188e-05/0.004366, allocations: 25.7 kB / 0.7324 GB, free: 1.297 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0004279/0.004794, allocations: 314.8 kB / 0.7327 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.777e-05/0.004812, allocations: 7.938 kB / 0.7327 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.925e-05/0.004851, allocations: 44 kB / 0.7327 GB, free: 0.918 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.288e-05/0.004884, allocations: 17.84 kB / 0.7327 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.004887, allocations: 0 / 0.7327 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.695e-05/0.004944, allocations: 41.69 kB / 0.7328 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.004959, allocations: 4.531 kB / 0.7328 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.004965, allocations: 5.062 kB / 0.7328 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.004979, allocations: 0 / 0.7328 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.529e-05/0.005044, allocations: 7.938 kB / 0.7328 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.005051, allocations: 4.719 kB / 0.7328 GB, free: 0.832 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.406e-05/0.005085, allocations: 7.984 kB / 0.7328 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.098e-06/0.005089, allocations: 0.5312 kB / 0.7328 GB, free: 0.8242 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 6.378e-05/0.005153, allocations: 115.1 kB / 0.7329 GB, free: 0.7031 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.341e-05/0.005166, allocations: 7.938 kB / 0.7329 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.018e-05/0.005196, allocations: 21.69 kB / 0.7329 GB, free: 0.6719 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.005198, allocations: 4 kB / 0.7329 GB, free: 0.668 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.005201, allocations: 0 / 0.7329 GB, free: 0.668 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.005205, allocations: 0 / 0.7329 GB, free: 0.668 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.789e-05/0.005302, allocations: 73.88 kB / 0.733 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.005304, allocations: 1.219 kB / 0.733 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.476e-05/0.005329, allocations: 4 kB / 0.733 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.249e-05/0.005341, allocations: 7.953 kB / 0.733 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.005343, allocations: 1.625 kB / 0.733 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-06/0.005349, allocations: 0 / 0.733 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.005352, allocations: 7.922 kB / 0.733 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.005353, allocations: 0 / 0.733 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001015/0.005455, allocations: 136 kB / 0.7332 GB, free: 420 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/0.005472, allocations: 4 kB / 0.7332 GB, free: 416 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.465e-05/0.005506, allocations: 4.75 kB / 0.7332 GB, free: 412 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.086e-05/0.005547, allocations: 11.92 kB / 0.7332 GB, free: 400 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.225e-06/0.005549, allocations: 1.094 kB / 0.7332 GB, free: 400 kB / 0.698 GB Notification: Performance of sorting global known variables: time 2.016e-05/0.005569, allocations: 16.84 kB / 0.7332 GB, free: 380 kB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.005569, allocations: 0 / 0.7332 GB, free: 380 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.000119/0.005688, allocations: 9.094 kB / 0.7332 GB, free: 372 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 9.862e-05/0.005787, allocations: 85.03 kB / 0.7333 GB, free: 280 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.58e-05/0.005863, allocations: 13.95 kB / 0.7333 GB, free: 264 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.005869, allocations: 4 kB / 0.7333 GB, free: 260 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.94e-05/0.005889, allocations: 20.77 kB / 0.7333 GB, free: 236 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001762/0.006065, allocations: 18.91 kB / 0.7333 GB, free: 220 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.007094, allocations: 170.5 kB / 0.7335 GB, free: 24 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.682e-05/0.007141, allocations: 55.36 kB / 0.7336 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.451e-05/0.007176, allocations: 9.703 kB / 0.7336 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.94e-05/0.007225, allocations: 55.38 kB / 0.7336 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of SimCode: time 7.02e-07/0.007226, allocations: 2.75 kB / 0.7336 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of Templates: time 0.002493/0.009719, allocations: 0.8137 MB / 0.7344 GB, free: 15.11 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.955046620219946]