Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.385/1.385, allocations: 255.9 MB / 271.2 MB, free: 8.887 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.001027/0.001027, allocations: 186.6 kB / 330.8 MB, free: 472 kB / 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 1.505/1.505, allocations: 225.7 MB / 0.6016 GB, free: 15.93 MB / 442.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.0008121/0.000812, allocations: 109.4 kB / 0.709 GB, free: 5.383 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003064/0.0003064, allocations: 8.938 kB / 0.8261 GB, free: 123.6 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1788/0.1791, allocations: 109.2 MB / 0.9327 GB, free: 24.13 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.001349/0.1805, allocations: 1.209 MB / 0.9339 GB, free: 22.91 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001022/0.1816, allocations: 0.9835 MB / 0.9349 GB, free: 21.85 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.573e-05/0.1816, allocations: 7.875 kB / 0.9349 GB, free: 21.84 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.291e-05/0.1816, allocations: 3.984 kB / 0.9349 GB, free: 21.84 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.422e-05/0.1817, allocations: 11.86 kB / 0.9349 GB, free: 21.83 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004671/0.1822, allocations: 99.78 kB / 0.935 GB, free: 21.73 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.965e-05/0.1823, allocations: 67.83 kB / 0.9351 GB, free: 21.66 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.335e-05/0.1824, allocations: 8 kB / 0.9351 GB, free: 21.66 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 8.229e-05/0.1825, allocations: 31.8 kB / 0.9351 GB, free: 21.62 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.031e-05/0.1826, allocations: 27.91 kB / 0.9351 GB, free: 21.6 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.1826, allocations: 0 / 0.9351 GB, free: 21.6 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001598/0.1827, allocations: 87.91 kB / 0.9352 GB, free: 21.51 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.472e-05/0.1828, allocations: 19.91 kB / 0.9352 GB, free: 21.49 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.168e-05/0.1828, allocations: 53.56 kB / 0.9353 GB, free: 21.43 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001987/0.183, allocations: 139.8 kB / 0.9354 GB, free: 21.3 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.1831, allocations: 0 / 0.9354 GB, free: 21.3 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.303e-06/0.1831, allocations: 0 / 0.9354 GB, free: 21.3 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.164e-05/0.1831, allocations: 0 / 0.9354 GB, free: 21.3 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005352/0.1836, allocations: 426.7 kB / 0.9358 GB, free: 20.82 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.1837, allocations: 17.11 kB / 0.9358 GB, free: 20.8 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.337e-05/0.1837, allocations: 4.938 kB / 0.9358 GB, free: 20.8 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.906e-05/0.1838, allocations: 172.2 kB / 0.936 GB, free: 20.59 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.172e-05/0.1838, allocations: 12.31 kB / 0.936 GB, free: 20.58 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.017e-05/0.1839, allocations: 8.359 kB / 0.936 GB, free: 20.57 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/0.1841, allocations: 73.95 kB / 0.9361 GB, free: 20.5 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.1841, allocations: 0 / 0.9361 GB, free: 20.5 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.1841, allocations: 0 / 0.9361 GB, free: 20.5 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.1841, allocations: 4 kB / 0.9361 GB, free: 20.49 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001265/0.1842, allocations: 51.91 kB / 0.9362 GB, free: 20.44 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003906/0.1846, allocations: 296.7 kB / 0.9364 GB, free: 20.1 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001123/0.1848, allocations: 62.53 kB / 0.9365 GB, free: 20.03 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.76e-05/0.1848, allocations: 32.97 kB / 0.9365 GB, free: 20 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.1849, allocations: 0 / 0.9365 GB, free: 20 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002007/0.1851, allocations: 83.31 kB / 0.9366 GB, free: 19.9 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.1851, allocations: 4 kB / 0.9366 GB, free: 19.9 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0003506/0.1854, allocations: 145.6 kB / 0.9367 GB, free: 19.75 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.696e-05/0.1855, allocations: 55.39 kB / 0.9368 GB, free: 19.68 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.72e-05/0.1856, allocations: 125.8 kB / 0.9369 GB, free: 19.55 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.859e-06/0.1856, allocations: 29.7 kB / 0.937 GB, free: 19.52 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.012e-05/0.1856, allocations: 92.14 kB / 0.937 GB, free: 19.42 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.636e-05/0.1856, allocations: 23.73 kB / 0.9371 GB, free: 19.4 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.659e-06/0.1856, allocations: 0 / 0.9371 GB, free: 19.4 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 5.35e-05/0.1857, allocations: 318.8 kB / 0.9374 GB, free: 19.08 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.496e-05/0.1858, allocations: 27.92 kB / 0.9374 GB, free: 19.05 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.345e-05/0.1858, allocations: 73.06 kB / 0.9375 GB, free: 18.96 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000138/0.186, allocations: 97.06 kB / 0.9376 GB, free: 18.85 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.186, allocations: 0 / 0.9376 GB, free: 18.85 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001867/0.1862, allocations: 117.4 kB / 0.9377 GB, free: 18.73 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.1862, allocations: 12.06 kB / 0.9377 GB, free: 18.71 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.1862, allocations: 7.938 kB / 0.9377 GB, free: 18.71 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.1862, allocations: 0 / 0.9377 GB, free: 18.71 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.081e-05/0.1863, allocations: 15.94 kB / 0.9377 GB, free: 18.69 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.1863, allocations: 7.984 kB / 0.9377 GB, free: 18.68 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.596e-05/0.1864, allocations: 4 kB / 0.9377 GB, free: 18.68 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.1864, allocations: 8 kB / 0.9377 GB, free: 18.67 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.bli.curSeed,bli.curSeed,$PRE.bli.blindState,bli.blindState,$PRE.bli.pDown,bli.pDown,occ.y,$whenCondition1,bli.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.501e-05/0.1865, allocations: 126.4 kB / 0.9378 GB, free: 18.54 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.176e-05/0.1865, allocations: 7.906 kB / 0.9378 GB, free: 18.53 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.472e-05/0.1865, allocations: 12.36 kB / 0.9379 GB, free: 18.52 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.1866, allocations: 4 kB / 0.9379 GB, free: 18.52 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1866, allocations: 0 / 0.9379 GB, free: 18.52 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1866, allocations: 0 / 0.9379 GB, free: 18.52 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003413/0.1869, allocations: 386.3 kB / 0.9382 GB, free: 18.08 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.1869, allocations: 4 kB / 0.9382 GB, free: 18.08 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.708e-05/0.187, allocations: 4 kB / 0.9382 GB, free: 18.07 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.187, allocations: 0 / 0.9382 GB, free: 18.07 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.187, allocations: 7.984 kB / 0.9382 GB, free: 18.07 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.187, allocations: 0 / 0.9382 GB, free: 18.07 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.187, allocations: 3.938 kB / 0.9383 GB, free: 18.06 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002204/0.1872, allocations: 207.5 kB / 0.9384 GB, free: 17.84 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.125e-05/0.1873, allocations: 93 kB / 0.9385 GB, free: 17.73 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.1873, allocations: 0 / 0.9385 GB, free: 17.73 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.219e-05/0.1874, allocations: 4 kB / 0.9385 GB, free: 17.73 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.334e-05/0.1874, allocations: 11.92 kB / 0.9386 GB, free: 17.72 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-06/0.1874, allocations: 4 kB / 0.9386 GB, free: 17.71 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.098e-05/0.1875, allocations: 91.27 kB / 0.9386 GB, free: 17.62 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1875, allocations: 4 kB / 0.9386 GB, free: 17.62 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002504/0.1877, allocations: 36 kB / 0.9387 GB, free: 17.59 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: 6 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pDown,bli.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0002905/0.188, allocations: 181.1 kB / 0.9389 GB, free: 17.42 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002055/0.1882, allocations: 79.95 kB / 0.9389 GB, free: 17.34 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1883, allocations: 0 / 0.9389 GB, free: 17.34 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 8.809e-05/0.1883, allocations: 36.39 kB / 0.939 GB, free: 17.3 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002315/0.1886, allocations: 19.92 kB / 0.939 GB, free: 17.29 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003305/0.1889, allocations: 219.4 kB / 0.9392 GB, free: 17.04 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001071/0.189, allocations: 0.6887 MB / 0.9399 GB, free: 16.32 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.228e-05/0.1891, allocations: 7.984 kB / 0.9399 GB, free: 16.32 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.894e-05/0.1891, allocations: 7.438 kB / 0.9399 GB, free: 16.31 MB / 0.5886 GB Notification: Performance of SimCode: time 2.21e-07/0.1891, allocations: 4 kB / 0.9399 GB, free: 16.3 MB / 0.5886 GB Notification: Performance of Templates: time 0.003128/0.1922, allocations: 1.349 MB / 0.9412 GB, free: 14.96 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1)