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.Lighting.Validation.Reinhart2003Light.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.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") 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.732/1.732, allocations: 255.9 MB / 271.2 MB, free: 8.891 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.0009741/0.0009742, allocations: 172.5 kB / 330.8 MB, free: 480 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.457/1.457, allocations: 225.7 MB / 0.6016 GB, free: 1.598 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.0008269/0.000827, allocations: 91.66 kB / 0.709 GB, free: 7.062 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004873/0.0004874, allocations: 9.062 kB / 0.8261 GB, free: 115.7 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2064/0.2069, allocations: 109.2 MB / 0.9327 GB, free: 6.285 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.001512/0.2085, allocations: 1.259 MB / 0.934 GB, free: 5.016 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.001196/0.2097, allocations: 1.022 MB / 0.935 GB, free: 3.914 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.744e-05/0.2098, allocations: 0 / 0.935 GB, free: 3.914 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 2.321e-05/0.2098, allocations: 7.922 kB / 0.935 GB, free: 3.906 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 9.399e-05/0.2099, allocations: 11.86 kB / 0.935 GB, free: 3.895 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004636/0.2104, allocations: 119.8 kB / 0.9351 GB, free: 3.777 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.0001058/0.2105, allocations: 91.7 kB / 0.9352 GB, free: 3.688 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 8.554e-05/0.2106, allocations: 12 kB / 0.9352 GB, free: 3.676 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 9.818e-05/0.2107, allocations: 43.77 kB / 0.9352 GB, free: 3.633 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 7.759e-05/0.2108, allocations: 35.84 kB / 0.9353 GB, free: 3.598 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 1.74e-05/0.2108, allocations: 4 kB / 0.9353 GB, free: 3.594 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001797/0.211, allocations: 95.84 kB / 0.9354 GB, free: 3.5 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 2.905e-05/0.211, allocations: 23.89 kB / 0.9354 GB, free: 3.477 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 5.679e-05/0.2111, allocations: 65.44 kB / 0.9355 GB, free: 3.406 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002175/0.2113, allocations: 151.9 kB / 0.9356 GB, free: 3.258 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2113, allocations: 0 / 0.9356 GB, free: 3.258 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.313e-06/0.2113, allocations: 0 / 0.9356 GB, free: 3.258 MB / 0.573 GB Notification: Performance of Transformations before backend: time 7.785e-06/0.2114, allocations: 0 / 0.9356 GB, free: 3.258 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.0006654/0.212, allocations: 0.4885 MB / 0.9361 GB, free: 2.703 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.2121, allocations: 15.98 kB / 0.9361 GB, free: 2.688 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.035e-05/0.2121, allocations: 8.844 kB / 0.9361 GB, free: 2.68 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.976e-05/0.2122, allocations: 191.5 kB / 0.9363 GB, free: 2.457 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.2123, allocations: 8.312 kB / 0.9363 GB, free: 2.449 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.171e-05/0.2123, allocations: 4.375 kB / 0.9363 GB, free: 2.445 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002113/0.2125, allocations: 85.95 kB / 0.9364 GB, free: 2.355 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.2125, allocations: 0 / 0.9364 GB, free: 2.355 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.2125, allocations: 8 kB / 0.9364 GB, free: 2.348 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.2125, allocations: 0 / 0.9364 GB, free: 2.348 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001592/0.2127, allocations: 51.95 kB / 0.9364 GB, free: 2.297 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005295/0.2133, allocations: 340.6 kB / 0.9368 GB, free: 1.914 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002181/0.2135, allocations: 82.66 kB / 0.9368 GB, free: 1.824 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.671e-05/0.2136, allocations: 40.84 kB / 0.9369 GB, free: 1.781 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.2136, allocations: 3.984 kB / 0.9369 GB, free: 1.777 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002179/0.2138, allocations: 107.4 kB / 0.937 GB, free: 1.66 MB / 0.573 GB Notification: Performance of pre-optimization done (n=11): time 1.883e-06/0.2139, allocations: 0 / 0.937 GB, free: 1.66 MB / 0.573 GB Notification: Performance of matching and sorting (n=11): time 0.0004288/0.2143, allocations: 181.4 kB / 0.9372 GB, free: 1.477 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.673e-05/0.2143, allocations: 59.34 kB / 0.9372 GB, free: 1.406 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.325e-05/0.2144, allocations: 137.6 kB / 0.9374 GB, free: 1.262 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.2145, allocations: 33.7 kB / 0.9374 GB, free: 1.223 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 3.385e-05/0.2145, allocations: 96.12 kB / 0.9375 GB, free: 1.125 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 2.407e-05/0.2145, allocations: 27.64 kB / 0.9375 GB, free: 1.098 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.544e-06/0.2145, allocations: 4 kB / 0.9375 GB, free: 1.094 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 4.331e-05/0.2146, allocations: 322.8 kB / 0.9378 GB, free: 0.7695 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.828e-05/0.2147, allocations: 35.91 kB / 0.9378 GB, free: 0.7344 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.283e-05/0.2148, allocations: 73.14 kB / 0.9379 GB, free: 0.6445 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001755/0.215, allocations: 109 kB / 0.938 GB, free: 0.5195 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.215, allocations: 0 / 0.938 GB, free: 0.5195 MB / 0.573 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002538/0.2152, allocations: 145.3 kB / 0.9382 GB, free: 380 kB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.2153, allocations: 4 kB / 0.9382 GB, free: 376 kB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.2153, allocations: 0 / 0.9382 GB, free: 376 kB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.2153, allocations: 7.984 kB / 0.9382 GB, free: 368 kB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.2154, allocations: 19.92 kB / 0.9382 GB, free: 348 kB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.2154, allocations: 8.094 kB / 0.9382 GB, free: 340 kB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001155/0.2156, allocations: 15.94 kB / 0.9382 GB, free: 324 kB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.474e-05/0.2156, allocations: 7.984 kB / 0.9382 GB, free: 316 kB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.lig.curSeed,lig.curSeed,$PRE.lig.on,lig.on,$whenCondition3,$whenCondition2,lig.sampleTrigger,$whenCondition1,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * 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 7.252e-05/0.2157, allocations: 129.9 kB / 0.9383 GB, free: 180 kB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.823e-05/0.2157, allocations: 7.906 kB / 0.9384 GB, free: 172 kB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003831/0.2161, allocations: 186.1 kB / 0.9385 GB, free: 15.98 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.2161, allocations: 4 kB / 0.9385 GB, free: 15.98 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.2161, allocations: 0 / 0.9385 GB, free: 15.98 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.2161, allocations: 0 / 0.9385 GB, free: 15.98 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007236/0.2168, allocations: 474.3 kB / 0.939 GB, free: 15.46 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.2169, allocations: 0 / 0.939 GB, free: 15.46 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001009/0.217, allocations: 15.98 kB / 0.939 GB, free: 15.44 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.217, allocations: 0 / 0.939 GB, free: 15.44 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.83e-05/0.217, allocations: 7.984 kB / 0.939 GB, free: 15.43 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.217, allocations: 0 / 0.939 GB, free: 15.43 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.217, allocations: 3.938 kB / 0.939 GB, free: 15.43 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003734/0.2174, allocations: 259.2 kB / 0.9393 GB, free: 15.16 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.365e-05/0.2175, allocations: 85.02 kB / 0.9393 GB, free: 15.06 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.234e-05/0.2175, allocations: 0 / 0.9393 GB, free: 15.06 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.2176, allocations: 15.98 kB / 0.9394 GB, free: 15.04 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.584e-05/0.2177, allocations: 16.06 kB / 0.9394 GB, free: 15.03 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.2177, allocations: 8 kB / 0.9394 GB, free: 15.02 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.267e-05/0.2178, allocations: 106.5 kB / 0.9395 GB, free: 14.92 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2178, allocations: 8 kB / 0.9395 GB, free: 14.91 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003042/0.2181, allocations: 44 kB / 0.9395 GB, free: 14.87 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 (booleanPulse.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,booleanPulse.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * 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.0002978/0.2184, allocations: 162.3 kB / 0.9397 GB, free: 14.71 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002386/0.2186, allocations: 111.8 kB / 0.9398 GB, free: 14.61 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2187, allocations: 0 / 0.9398 GB, free: 14.61 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.000122/0.2188, allocations: 56.36 kB / 0.9398 GB, free: 14.55 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000266/0.2191, allocations: 15.98 kB / 0.9399 GB, free: 14.54 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004437/0.2195, allocations: 279.4 kB / 0.9401 GB, free: 14.23 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002554/0.2198, allocations: 0.7004 MB / 0.9408 GB, free: 13.51 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.144e-05/0.2198, allocations: 12.56 kB / 0.9408 GB, free: 13.49 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.23e-05/0.2199, allocations: 23.42 kB / 0.9408 GB, free: 13.47 MB / 0.5886 GB Notification: Performance of SimCode: time 2.3e-07/0.2199, allocations: 0 / 0.9408 GB, free: 13.47 MB / 0.5886 GB Notification: Performance of Templates: time 0.004096/0.224, allocations: 1.857 MB / 0.9427 GB, free: 11.62 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1)