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.Zhang2012BlindsSolarIntensity.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.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") 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.39/1.39, allocations: 255.9 MB / 271.2 MB, free: 8.883 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.0009595/0.0009596, allocations: 182.4 kB / 330.8 MB, free: 468 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.619/1.619, allocations: 225.7 MB / 0.6016 GB, free: 1.594 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.0009123/0.0009123, allocations: 103.5 kB / 0.709 GB, free: 6.992 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003463/0.0003463, allocations: 8.625 kB / 0.8261 GB, free: 115.7 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1892/0.1895, allocations: 109.2 MB / 0.9327 GB, free: 6.277 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.001833/0.1914, allocations: 1.224 MB / 0.9339 GB, free: 5.043 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.001444/0.1929, allocations: 1.011 MB / 0.9349 GB, free: 3.953 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.654e-05/0.1929, allocations: 3.938 kB / 0.9349 GB, free: 3.949 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 2.676e-05/0.193, allocations: 0 / 0.9349 GB, free: 3.949 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 6.767e-05/0.1931, allocations: 7.875 kB / 0.9349 GB, free: 3.941 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005211/0.1936, allocations: 115.8 kB / 0.935 GB, free: 3.828 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.0001192/0.1937, allocations: 83.72 kB / 0.9351 GB, free: 3.746 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.1938, allocations: 15.97 kB / 0.9351 GB, free: 3.73 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 9.91e-05/0.1939, allocations: 31.92 kB / 0.9352 GB, free: 3.699 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 8.237e-05/0.194, allocations: 47.81 kB / 0.9352 GB, free: 3.652 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.1941, allocations: 4 kB / 0.9352 GB, free: 3.648 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000197/0.1943, allocations: 79.86 kB / 0.9353 GB, free: 3.57 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 3.245e-05/0.1943, allocations: 23.91 kB / 0.9353 GB, free: 3.547 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 6.706e-05/0.1944, allocations: 61.56 kB / 0.9354 GB, free: 3.48 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002586/0.1947, allocations: 147.8 kB / 0.9355 GB, free: 3.336 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.1947, allocations: 0 / 0.9355 GB, free: 3.336 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.043e-06/0.1947, allocations: 0 / 0.9355 GB, free: 3.336 MB / 0.573 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.1947, allocations: 0 / 0.9355 GB, free: 3.336 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006254/0.1953, allocations: 446.7 kB / 0.9359 GB, free: 2.84 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.1954, allocations: 21.11 kB / 0.936 GB, free: 2.82 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.037e-05/0.1954, allocations: 12.83 kB / 0.936 GB, free: 2.809 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.1956, allocations: 176.3 kB / 0.9361 GB, free: 2.598 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.221e-05/0.1956, allocations: 8.375 kB / 0.9361 GB, free: 2.59 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.886e-05/0.1957, allocations: 4.375 kB / 0.9362 GB, free: 2.586 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002566/0.1959, allocations: 97.88 kB / 0.9362 GB, free: 2.484 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.1959, allocations: 0 / 0.9362 GB, free: 2.484 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.76e-05/0.196, allocations: 0 / 0.9362 GB, free: 2.484 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-06/0.196, allocations: 0 / 0.9362 GB, free: 2.484 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001914/0.1962, allocations: 55.97 kB / 0.9363 GB, free: 2.43 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005614/0.1968, allocations: 332.5 kB / 0.9366 GB, free: 2.055 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001885/0.197, allocations: 66.55 kB / 0.9367 GB, free: 1.98 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001292/0.1971, allocations: 52.83 kB / 0.9367 GB, free: 1.926 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.979e-05/0.1971, allocations: 3.938 kB / 0.9367 GB, free: 1.922 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002447/0.1974, allocations: 107.5 kB / 0.9368 GB, free: 1.805 MB / 0.573 GB Notification: Performance of pre-optimization done (n=9): time 1.723e-06/0.1974, allocations: 0 / 0.9368 GB, free: 1.805 MB / 0.573 GB Notification: Performance of matching and sorting (n=9): time 0.0005749/0.198, allocations: 193.5 kB / 0.937 GB, free: 1.609 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.972e-05/0.198, allocations: 51.41 kB / 0.9371 GB, free: 1.547 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.485e-05/0.1981, allocations: 129.8 kB / 0.9372 GB, free: 1.41 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.1981, allocations: 29.7 kB / 0.9372 GB, free: 1.375 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 4.327e-05/0.1982, allocations: 92.38 kB / 0.9373 GB, free: 1.277 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 2.332e-05/0.1982, allocations: 27.64 kB / 0.9373 GB, free: 1.25 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.303e-06/0.1982, allocations: 0 / 0.9373 GB, free: 1.25 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 5.664e-05/0.1983, allocations: 318.8 kB / 0.9376 GB, free: 0.9297 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001038/0.1984, allocations: 39.91 kB / 0.9377 GB, free: 0.8906 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001196/0.1985, allocations: 74 kB / 0.9378 GB, free: 0.7969 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002186/0.1988, allocations: 117.9 kB / 0.9379 GB, free: 0.6602 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1988, allocations: 0 / 0.9379 GB, free: 0.6602 MB / 0.573 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003137/0.1991, allocations: 141.5 kB / 0.938 GB, free: 0.5156 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.1991, allocations: 11.91 kB / 0.938 GB, free: 0.5039 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.1991, allocations: 0 / 0.938 GB, free: 0.5039 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.1992, allocations: 4 kB / 0.938 GB, free: 0.5 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.1993, allocations: 19.92 kB / 0.938 GB, free: 492 kB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.647e-06/0.1993, allocations: 3.984 kB / 0.938 GB, free: 488 kB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.409e-05/0.1994, allocations: 12 kB / 0.938 GB, free: 476 kB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.592e-05/0.1994, allocations: 4 kB / 0.9381 GB, free: 472 kB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.bli.curSeed,bli.curSeed,$PRE.bli.pDown,bli.pDown,$PRE.bli.pUp,bli.pUp,$PRE.bli.blindState,bli.blindState,$PRE.bli.isOpen,bli.isOpen,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 (15): * Single equations (assignments): 15 * 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 8.619e-05/0.1995, allocations: 135.5 kB / 0.9382 GB, free: 328 kB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.257e-05/0.1996, allocations: 7.906 kB / 0.9382 GB, free: 320 kB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.848e-05/0.1996, allocations: 8.375 kB / 0.9382 GB, free: 312 kB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.1996, allocations: 8.078 kB / 0.9382 GB, free: 304 kB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.1996, allocations: 0 / 0.9382 GB, free: 304 kB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.1997, allocations: 384 / 0.9382 GB, free: 304 kB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006609/0.2003, allocations: 454.1 kB / 0.9386 GB, free: 15.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.2003, allocations: 0 / 0.9386 GB, free: 15.8 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.408e-05/0.2004, allocations: 7.984 kB / 0.9386 GB, free: 15.79 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.2004, allocations: 0 / 0.9386 GB, free: 15.79 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.969e-05/0.2004, allocations: 4 kB / 0.9386 GB, free: 15.79 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.2005, allocations: 0 / 0.9386 GB, free: 15.79 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.2005, allocations: 3.938 kB / 0.9387 GB, free: 15.78 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004905/0.201, allocations: 259.3 kB / 0.9389 GB, free: 15.51 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.758e-05/0.201, allocations: 81.02 kB / 0.939 GB, free: 15.41 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.773e-05/0.2011, allocations: 7.984 kB / 0.939 GB, free: 15.41 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.2012, allocations: 4 kB / 0.939 GB, free: 15.4 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.242e-05/0.2013, allocations: 11.92 kB / 0.939 GB, free: 15.39 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.792e-05/0.2013, allocations: 8 kB / 0.939 GB, free: 15.38 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 7.389e-05/0.2014, allocations: 95.27 kB / 0.9391 GB, free: 15.29 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.446e-06/0.2014, allocations: 0 / 0.9391 GB, free: 15.29 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0004738/0.2019, allocations: 47.92 kB / 0.9391 GB, free: 15.24 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: 8 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pUp,bli.pDown,bli.isOpen,bli.curSeed) * Number of discrete states: 1 (bli.isOpen) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0004216/0.2023, allocations: 180.8 kB / 0.9393 GB, free: 15.07 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003414/0.2027, allocations: 91.89 kB / 0.9394 GB, free: 14.98 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2027, allocations: 0 / 0.9394 GB, free: 14.98 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.000169/0.2029, allocations: 51.91 kB / 0.9395 GB, free: 14.93 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004186/0.2033, allocations: 16.31 kB / 0.9395 GB, free: 14.92 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005766/0.2039, allocations: 229.4 kB / 0.9397 GB, free: 14.66 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003064/0.2042, allocations: 0.6936 MB / 0.9404 GB, free: 13.94 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.324e-05/0.2043, allocations: 11.92 kB / 0.9404 GB, free: 13.93 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.465e-05/0.2043, allocations: 11.44 kB / 0.9404 GB, free: 13.92 MB / 0.5886 GB Notification: Performance of SimCode: time 3e-07/0.2043, allocations: 3.938 kB / 0.9404 GB, free: 13.91 MB / 0.5886 GB Notification: Performance of Templates: time 0.005319/0.2097, allocations: 1.597 MB / 0.942 GB, free: 12.32 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1)