Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T") translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.453/2.453, allocations: 254.9 MB / 269.9 MB, free: 9.629 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 179.9 kB / 329.5 MB, free: 1.141 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.651/2.651, allocations: 225.6 MB / 0.6001 GB, free: 2.16 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009527/0.0009524, allocations: 99.16 kB / 0.7074 GB, free: 7.906 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0007042/0.0007042, allocations: 15.44 kB / 0.8242 GB, free: 124.4 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.227/0.2277, allocations: 109.1 MB / 0.9308 GB, free: 25.07 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.001567/0.2293, allocations: 1.119 MB / 0.9319 GB, free: 23.95 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0004051/0.2298, allocations: 159.6 kB / 0.932 GB, free: 23.79 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.34e-05/0.2298, allocations: 0 / 0.932 GB, free: 23.79 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.846e-05/0.2299, allocations: 3.938 kB / 0.932 GB, free: 23.79 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 9.729e-05/0.23, allocations: 11.86 kB / 0.932 GB, free: 23.77 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001553/0.2301, allocations: 11.98 kB / 0.932 GB, free: 23.76 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 9.21e-05/0.2302, allocations: 51.8 kB / 0.9321 GB, free: 23.71 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.2304, allocations: 23.97 kB / 0.9321 GB, free: 23.69 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 9.725e-05/0.2305, allocations: 19.92 kB / 0.9321 GB, free: 23.67 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.546e-05/0.2306, allocations: 23.86 kB / 0.9321 GB, free: 23.64 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.842e-05/0.2306, allocations: 0 / 0.9321 GB, free: 23.64 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.554e-05/0.2306, allocations: 4 kB / 0.9322 GB, free: 23.64 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.476e-05/0.2306, allocations: 4 kB / 0.9322 GB, free: 23.64 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.379e-05/0.2307, allocations: 33.64 kB / 0.9322 GB, free: 23.6 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 8.78e-05/0.2308, allocations: 55.88 kB / 0.9322 GB, free: 23.54 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.2308, allocations: 4 kB / 0.9322 GB, free: 23.54 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.034e-06/0.2308, allocations: 0 / 0.9322 GB, free: 23.54 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.2308, allocations: 0 / 0.9322 GB, free: 23.54 MB / 0.5886 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.0004593/0.2313, allocations: 359.6 kB / 0.9326 GB, free: 23.14 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.2313, allocations: 8.031 kB / 0.9326 GB, free: 23.13 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.952e-05/0.2314, allocations: 8.844 kB / 0.9326 GB, free: 23.12 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000265/0.2316, allocations: 192.3 kB / 0.9328 GB, free: 22.89 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.2317, allocations: 4.375 kB / 0.9328 GB, free: 22.89 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.845e-05/0.2317, allocations: 384 / 0.9328 GB, free: 22.89 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.2319, allocations: 66.17 kB / 0.9329 GB, free: 22.82 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.2319, allocations: 4.125 kB / 0.9329 GB, free: 22.82 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.2319, allocations: 3.938 kB / 0.9329 GB, free: 22.81 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.2319, allocations: 4 kB / 0.9329 GB, free: 22.81 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001559/0.2321, allocations: 39.97 kB / 0.9329 GB, free: 22.77 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004657/0.2326, allocations: 300.7 kB / 0.9332 GB, free: 22.43 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004169/0.233, allocations: 86.47 kB / 0.9333 GB, free: 22.33 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.979e-05/0.2331, allocations: 16.92 kB / 0.9333 GB, free: 22.31 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.614e-05/0.2331, allocations: 4 kB / 0.9333 GB, free: 22.31 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.631e-05/0.2332, allocations: 34.64 kB / 0.9333 GB, free: 22.27 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 1.804e-06/0.2332, allocations: 4 kB / 0.9333 GB, free: 22.26 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0003371/0.2335, allocations: 77.58 kB / 0.9334 GB, free: 22.18 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.966e-05/0.2336, allocations: 55.34 kB / 0.9335 GB, free: 22.11 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.854e-05/0.2337, allocations: 121.8 kB / 0.9336 GB, free: 21.98 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.2337, allocations: 25.7 kB / 0.9336 GB, free: 21.95 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.405e-05/0.2337, allocations: 92.12 kB / 0.9337 GB, free: 21.86 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.999e-05/0.2338, allocations: 7.906 kB / 0.9337 GB, free: 21.85 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.911e-06/0.2338, allocations: 0 / 0.9337 GB, free: 21.85 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.062e-05/0.2339, allocations: 326.8 kB / 0.934 GB, free: 21.52 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.842e-05/0.234, allocations: 12 kB / 0.934 GB, free: 21.51 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.485e-05/0.2341, allocations: 33.7 kB / 0.934 GB, free: 21.47 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.772e-05/0.2341, allocations: 16.27 kB / 0.9341 GB, free: 21.46 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.2342, allocations: 7.938 kB / 0.9341 GB, free: 21.45 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002003/0.2344, allocations: 69.58 kB / 0.9341 GB, free: 21.38 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.2344, allocations: 4 kB / 0.9341 GB, free: 21.37 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.2344, allocations: 3.938 kB / 0.9341 GB, free: 21.37 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.2344, allocations: 0 / 0.9341 GB, free: 21.37 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.001e-05/0.2345, allocations: 16.02 kB / 0.9342 GB, free: 21.35 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.2345, allocations: 0 / 0.9342 GB, free: 21.35 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/0.2347, allocations: 15.92 kB / 0.9342 GB, free: 21.34 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-06/0.2347, allocations: 0 / 0.9342 GB, free: 21.34 MB / 0.5886 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 ($PRE.shaT.hys.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.866e-05/0.2348, allocations: 117.8 kB / 0.9343 GB, free: 21.21 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.444e-05/0.2348, allocations: 7.906 kB / 0.9343 GB, free: 21.2 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.046e-05/0.2349, allocations: 15.84 kB / 0.9343 GB, free: 21.18 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.2349, allocations: 0 / 0.9343 GB, free: 21.18 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.2349, allocations: 8 kB / 0.9343 GB, free: 21.18 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.2349, allocations: 0 / 0.9343 GB, free: 21.18 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001893/0.2351, allocations: 173.6 kB / 0.9345 GB, free: 20.96 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2351, allocations: 0 / 0.9345 GB, free: 20.96 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.807e-05/0.2352, allocations: 8 kB / 0.9345 GB, free: 20.95 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.2352, allocations: 3.984 kB / 0.9345 GB, free: 20.95 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.2352, allocations: 0 / 0.9345 GB, free: 20.95 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.2352, allocations: 0 / 0.9345 GB, free: 20.95 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2352, allocations: 0 / 0.9345 GB, free: 20.95 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002137/0.2355, allocations: 171.4 kB / 0.9347 GB, free: 20.76 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.253e-05/0.2355, allocations: 81.02 kB / 0.9347 GB, free: 20.66 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.34e-05/0.2355, allocations: 4 kB / 0.9347 GB, free: 20.66 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.2357, allocations: 7.984 kB / 0.9347 GB, free: 20.65 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.824e-05/0.2357, allocations: 11.98 kB / 0.9348 GB, free: 20.64 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.2357, allocations: 0 / 0.9348 GB, free: 20.64 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.307e-05/0.2358, allocations: 103.6 kB / 0.9349 GB, free: 20.54 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2358, allocations: 0 / 0.9349 GB, free: 20.54 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002736/0.2361, allocations: 8 kB / 0.9349 GB, free: 20.53 MB / 0.5886 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001064/0.2362, allocations: 99.25 kB / 0.935 GB, free: 20.42 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002539/0.2365, allocations: 39.92 kB / 0.935 GB, free: 20.38 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.2365, allocations: 4 kB / 0.935 GB, free: 20.38 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 8.788e-05/0.2366, allocations: 15.98 kB / 0.935 GB, free: 20.36 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003549/0.237, allocations: 15.94 kB / 0.935 GB, free: 20.35 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004003/0.2374, allocations: 196.1 kB / 0.9352 GB, free: 20.13 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001375/0.2375, allocations: 0.6809 MB / 0.9359 GB, free: 19.42 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 6.371e-05/0.2376, allocations: 7.984 kB / 0.9359 GB, free: 19.41 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.231e-05/0.2377, allocations: 11.44 kB / 0.9359 GB, free: 19.4 MB / 0.5886 GB Notification: Performance of SimCode: time 1.042e-06/0.2377, allocations: 3.938 kB / 0.9359 GB, free: 19.4 MB / 0.5886 GB Notification: Performance of Templates: time 0.003451/0.2411, allocations: 0.582 MB / 0.9365 GB, free: 18.82 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1)