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.Gunay2016Light.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.Gunay2016Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") 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.365/1.365, allocations: 255.9 MB / 271.2 MB, free: 8.879 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.0009098/0.0009098, allocations: 185.4 kB / 330.8 MB, free: 460 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.517/1.517, allocations: 225.7 MB / 0.6016 GB, free: 1.633 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.000804/0.0008041, allocations: 107.5 kB / 0.709 GB, free: 7.055 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.000339/0.0003388, allocations: 8 kB / 0.8261 GB, free: 115.6 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/0.2423, allocations: 109.2 MB / 0.9327 GB, free: 6.25 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.001835/0.2442, allocations: 1.24 MB / 0.934 GB, free: 5 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.001578/0.2458, allocations: 1.015 MB / 0.9349 GB, free: 3.906 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.001e-05/0.2459, allocations: 4 kB / 0.9349 GB, free: 3.902 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 3.168e-05/0.246, allocations: 3.938 kB / 0.9349 GB, free: 3.898 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001369/0.2461, allocations: 15.84 kB / 0.935 GB, free: 3.883 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006157/0.2467, allocations: 107.8 kB / 0.9351 GB, free: 3.777 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.0001373/0.2469, allocations: 91.7 kB / 0.9352 GB, free: 3.688 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.247, allocations: 15.98 kB / 0.9352 GB, free: 3.672 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001303/0.2471, allocations: 39.91 kB / 0.9352 GB, free: 3.633 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 9.406e-05/0.2472, allocations: 47.75 kB / 0.9353 GB, free: 3.586 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/0.2473, allocations: 4 kB / 0.9353 GB, free: 3.582 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002278/0.2475, allocations: 75.92 kB / 0.9353 GB, free: 3.508 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 3.633e-05/0.2475, allocations: 19.91 kB / 0.9353 GB, free: 3.488 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 9.344e-05/0.2477, allocations: 69.48 kB / 0.9354 GB, free: 3.414 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0003234/0.248, allocations: 155.7 kB / 0.9356 GB, free: 3.262 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 7.744e-06/0.248, allocations: 0 / 0.9356 GB, free: 3.262 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.783e-06/0.248, allocations: 0 / 0.9356 GB, free: 3.262 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.249e-05/0.248, allocations: 4 kB / 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.0009046/0.2489, allocations: 484.3 kB / 0.936 GB, free: 2.719 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 6.362e-05/0.249, allocations: 15.98 kB / 0.936 GB, free: 2.703 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.549e-05/0.2491, allocations: 8.844 kB / 0.9361 GB, free: 2.695 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.2492, allocations: 180.2 kB / 0.9362 GB, free: 2.48 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.2493, allocations: 4.375 kB / 0.9362 GB, free: 2.477 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.462e-05/0.2493, allocations: 8.375 kB / 0.9362 GB, free: 2.469 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001991/0.2495, allocations: 89.89 kB / 0.9363 GB, free: 2.375 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.2495, allocations: 0 / 0.9363 GB, free: 2.375 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.2495, allocations: 0 / 0.9363 GB, free: 2.375 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.2495, allocations: 0 / 0.9363 GB, free: 2.375 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001456/0.2497, allocations: 51.97 kB / 0.9364 GB, free: 2.324 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005075/0.2502, allocations: 344.6 kB / 0.9367 GB, free: 1.938 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002009/0.2504, allocations: 86.7 kB / 0.9368 GB, free: 1.844 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.438e-05/0.2505, allocations: 44.84 kB / 0.9368 GB, free: 1.797 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.653e-05/0.2505, allocations: 3.984 kB / 0.9368 GB, free: 1.793 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002235/0.2508, allocations: 107.3 kB / 0.9369 GB, free: 1.676 MB / 0.573 GB Notification: Performance of pre-optimization done (n=11): time 1.392e-06/0.2508, allocations: 3.938 kB / 0.9369 GB, free: 1.672 MB / 0.573 GB Notification: Performance of matching and sorting (n=11): time 0.0004017/0.2512, allocations: 181.5 kB / 0.9371 GB, free: 1.488 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/0.2512, allocations: 55.41 kB / 0.9372 GB, free: 1.422 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.938e-05/0.2513, allocations: 138 kB / 0.9373 GB, free: 1.273 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.2514, allocations: 29.7 kB / 0.9373 GB, free: 1.238 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 4.51e-05/0.2514, allocations: 92.14 kB / 0.9374 GB, free: 1.145 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 2.278e-05/0.2514, allocations: 27.64 kB / 0.9374 GB, free: 1.117 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.432e-06/0.2515, allocations: 0 / 0.9374 GB, free: 1.117 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 5.238e-05/0.2515, allocations: 326.8 kB / 0.9377 GB, free: 0.7891 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.58e-05/0.2516, allocations: 31.98 kB / 0.9378 GB, free: 0.7578 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001141/0.2517, allocations: 73.12 kB / 0.9378 GB, free: 0.668 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001564/0.2519, allocations: 109 kB / 0.938 GB, free: 0.543 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2519, allocations: 4 kB / 0.938 GB, free: 0.5391 MB / 0.573 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002225/0.2521, allocations: 141.4 kB / 0.9381 GB, free: 404 kB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.2521, allocations: 12 kB / 0.9381 GB, free: 392 kB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.2522, allocations: 4 kB / 0.9381 GB, free: 388 kB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.2522, allocations: 0 / 0.9381 GB, free: 388 kB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.2523, allocations: 15.98 kB / 0.9381 GB, free: 372 kB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.2523, allocations: 7.938 kB / 0.9381 GB, free: 364 kB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.904e-05/0.2524, allocations: 23.83 kB / 0.9382 GB, free: 340 kB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.353e-05/0.2524, allocations: 8 kB / 0.9382 GB, free: 332 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 8.483e-05/0.2525, allocations: 130.4 kB / 0.9383 GB, free: 192 kB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.656e-05/0.2525, allocations: 7.906 kB / 0.9383 GB, free: 184 kB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003041/0.2529, allocations: 166.4 kB / 0.9384 GB, free: 12 kB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.2529, allocations: 7.984 kB / 0.9385 GB, free: 4 kB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.2529, allocations: 0 / 0.9385 GB, free: 4 kB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.2529, allocations: 0 / 0.9385 GB, free: 4 kB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006234/0.2535, allocations: 458.3 kB / 0.9389 GB, free: 15.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.2535, allocations: 0 / 0.9389 GB, free: 15.5 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.699e-05/0.2536, allocations: 15.94 kB / 0.9389 GB, free: 15.48 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.2536, allocations: 0 / 0.9389 GB, free: 15.48 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/0.2536, allocations: 3.984 kB / 0.9389 GB, free: 15.48 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.2536, allocations: 0 / 0.9389 GB, free: 15.48 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.2537, allocations: 7.938 kB / 0.9389 GB, free: 15.47 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000322/0.254, allocations: 243.4 kB / 0.9392 GB, free: 15.22 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.97e-05/0.254, allocations: 88.95 kB / 0.9392 GB, free: 15.11 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.59e-05/0.2541, allocations: 4 kB / 0.9392 GB, free: 15.11 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.2542, allocations: 15.98 kB / 0.9393 GB, free: 15.09 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.875e-05/0.2543, allocations: 15.92 kB / 0.9393 GB, free: 15.08 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.018e-05/0.2543, allocations: 7.984 kB / 0.9393 GB, free: 15.07 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.24e-05/0.2544, allocations: 100 kB / 0.9394 GB, free: 14.97 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2544, allocations: 4 kB / 0.9394 GB, free: 14.97 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003044/0.2547, allocations: 44 kB / 0.9394 GB, free: 14.93 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 (13): * Single equations (assignments): 10 * 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.0003824/0.2551, allocations: 177.3 kB / 0.9396 GB, free: 14.76 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002611/0.2553, allocations: 95.89 kB / 0.9397 GB, free: 14.67 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2554, allocations: 3.938 kB / 0.9397 GB, free: 14.66 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001194/0.2555, allocations: 64.28 kB / 0.9397 GB, free: 14.6 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003138/0.2558, allocations: 20.17 kB / 0.9398 GB, free: 14.58 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004728/0.2563, allocations: 251.6 kB / 0.94 GB, free: 14.3 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002297/0.2565, allocations: 0.7043 MB / 0.9407 GB, free: 13.57 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.08e-05/0.2566, allocations: 4.719 kB / 0.9407 GB, free: 13.57 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.774e-05/0.2566, allocations: 15.44 kB / 0.9407 GB, free: 13.55 MB / 0.5886 GB Notification: Performance of SimCode: time 3.21e-07/0.2566, allocations: 0 / 0.9407 GB, free: 13.55 MB / 0.5886 GB Notification: Performance of Templates: time 0.004411/0.2611, allocations: 1.803 MB / 0.9425 GB, free: 11.76 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1)