Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.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.Occupants.Office.Lighting.Validation.Gunay2016Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.227/2.227, allocations: 254.9 MB / 269.9 MB, free: 9.652 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.002253/0.002253, allocations: 196.1 kB / 329.5 MB, free: 1.156 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.696/2.696, allocations: 225.6 MB / 0.6001 GB, free: 0.4922 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.0009245/0.0009245, allocations: 106.1 kB / 0.7074 GB, free: 6.234 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004655/0.0004656, allocations: 11.03 kB / 0.8242 GB, free: 124.9 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2105/0.2109, allocations: 109.1 MB / 0.9308 GB, free: 24.89 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.001716/0.2127, allocations: 1.228 MB / 0.932 GB, free: 23.65 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001389/0.2141, allocations: 0.69 MB / 0.9326 GB, free: 22.95 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.559e-05/0.2142, allocations: 0 / 0.9326 GB, free: 22.95 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.483e-05/0.2142, allocations: 7.922 kB / 0.9326 GB, free: 22.95 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.000104/0.2143, allocations: 19.86 kB / 0.9327 GB, free: 22.93 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005115/0.2149, allocations: 99.75 kB / 0.9328 GB, free: 22.83 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001234/0.215, allocations: 91.7 kB / 0.9328 GB, free: 22.74 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.067e-05/0.2151, allocations: 11.92 kB / 0.9329 GB, free: 22.73 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/0.2152, allocations: 47.83 kB / 0.9329 GB, free: 22.68 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 8.174e-05/0.2153, allocations: 35.84 kB / 0.9329 GB, free: 22.64 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.113e-05/0.2153, allocations: 4 kB / 0.9329 GB, free: 22.64 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002086/0.2156, allocations: 87.91 kB / 0.933 GB, free: 22.55 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.757e-05/0.2156, allocations: 23.89 kB / 0.933 GB, free: 22.53 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.769e-05/0.2157, allocations: 45.62 kB / 0.9331 GB, free: 22.48 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001853/0.2158, allocations: 112 kB / 0.9332 GB, free: 22.37 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.2159, allocations: 0 / 0.9332 GB, free: 22.37 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.964e-06/0.2159, allocations: 0 / 0.9332 GB, free: 22.37 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.95e-06/0.2159, allocations: 0 / 0.9332 GB, free: 22.37 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007492/0.2166, allocations: 480.4 kB / 0.9337 GB, free: 21.84 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.2167, allocations: 16.03 kB / 0.9337 GB, free: 21.82 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.746e-05/0.2167, allocations: 12.83 kB / 0.9337 GB, free: 21.81 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.2169, allocations: 176.2 kB / 0.9338 GB, free: 21.6 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.414e-05/0.2169, allocations: 8.375 kB / 0.9339 GB, free: 21.59 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.383e-05/0.2169, allocations: 4.375 kB / 0.9339 GB, free: 21.59 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002772/0.2172, allocations: 89.89 kB / 0.9339 GB, free: 21.49 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.2173, allocations: 0 / 0.9339 GB, free: 21.49 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.759e-05/0.2173, allocations: 0 / 0.9339 GB, free: 21.49 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.2173, allocations: 0 / 0.9339 GB, free: 21.49 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002304/0.2175, allocations: 59.95 kB / 0.934 GB, free: 21.43 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006298/0.2182, allocations: 332.7 kB / 0.9343 GB, free: 21.06 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002924/0.2185, allocations: 82.67 kB / 0.9344 GB, free: 20.97 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001409/0.2186, allocations: 40.84 kB / 0.9344 GB, free: 20.93 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.594e-05/0.2187, allocations: 3.984 kB / 0.9344 GB, free: 20.92 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002816/0.219, allocations: 107.4 kB / 0.9345 GB, free: 20.8 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=11): time 2.595e-06/0.219, allocations: 4 kB / 0.9345 GB, free: 20.8 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.0005899/0.2196, allocations: 181.4 kB / 0.9347 GB, free: 20.62 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/0.2196, allocations: 55.41 kB / 0.9348 GB, free: 20.55 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.2197, allocations: 134 kB / 0.9349 GB, free: 20.41 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.2198, allocations: 29.7 kB / 0.9349 GB, free: 20.37 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.443e-05/0.2198, allocations: 96.12 kB / 0.935 GB, free: 20.27 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3e-05/0.2199, allocations: 27.66 kB / 0.935 GB, free: 20.25 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.023e-05/0.2199, allocations: 0 / 0.935 GB, free: 20.25 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.204e-05/0.22, allocations: 326.8 kB / 0.9354 GB, free: 19.92 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001198/0.2201, allocations: 31.92 kB / 0.9354 GB, free: 19.89 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/0.2202, allocations: 81.06 kB / 0.9355 GB, free: 19.79 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001359/0.2204, allocations: 35.98 kB / 0.9355 GB, free: 19.75 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.2204, allocations: 0 / 0.9355 GB, free: 19.75 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003623/0.2208, allocations: 141.3 kB / 0.9356 GB, free: 19.61 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.2208, allocations: 16.02 kB / 0.9357 GB, free: 19.59 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.2208, allocations: 0 / 0.9357 GB, free: 19.59 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.2209, allocations: 4 kB / 0.9357 GB, free: 19.59 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001678/0.221, allocations: 19.92 kB / 0.9357 GB, free: 19.57 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.2211, allocations: 4 kB / 0.9357 GB, free: 19.57 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000192/0.2213, allocations: 16.08 kB / 0.9357 GB, free: 19.55 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.843e-05/0.2213, allocations: 7.984 kB / 0.9357 GB, free: 19.54 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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.783e-05/0.2214, allocations: 135.8 kB / 0.9358 GB, free: 19.4 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.355e-05/0.2214, allocations: 7.906 kB / 0.9358 GB, free: 19.39 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004585/0.2219, allocations: 158.3 kB / 0.936 GB, free: 19.23 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.2219, allocations: 4 kB / 0.936 GB, free: 19.23 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.2219, allocations: 0 / 0.936 GB, free: 19.23 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.2219, allocations: 0 / 0.936 GB, free: 19.23 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007541/0.2227, allocations: 466.2 kB / 0.9364 GB, free: 18.72 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.2227, allocations: 0 / 0.9364 GB, free: 18.72 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001202/0.2229, allocations: 15.98 kB / 0.9365 GB, free: 18.7 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.2229, allocations: 4 kB / 0.9365 GB, free: 18.7 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.668e-05/0.2229, allocations: 0 / 0.9365 GB, free: 18.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.2229, allocations: 4 kB / 0.9365 GB, free: 18.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.2229, allocations: 3.938 kB / 0.9365 GB, free: 18.69 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004039/0.2233, allocations: 243.4 kB / 0.9367 GB, free: 18.44 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.503e-05/0.2234, allocations: 88.95 kB / 0.9368 GB, free: 18.33 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.362e-05/0.2234, allocations: 11.92 kB / 0.9368 GB, free: 18.32 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001861/0.2236, allocations: 12 kB / 0.9368 GB, free: 18.31 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.896e-05/0.2237, allocations: 15.92 kB / 0.9368 GB, free: 18.29 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.238e-05/0.2237, allocations: 7.984 kB / 0.9368 GB, free: 18.29 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.874e-05/0.2238, allocations: 95.27 kB / 0.9369 GB, free: 18.19 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.31e-07/0.2238, allocations: 0 / 0.9369 GB, free: 18.19 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003915/0.2242, allocations: 51.98 kB / 0.937 GB, free: 18.14 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 (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.0003709/0.2246, allocations: 173.3 kB / 0.9371 GB, free: 17.98 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003486/0.2249, allocations: 92.08 kB / 0.9372 GB, free: 17.89 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.225, allocations: 0 / 0.9372 GB, free: 17.89 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.000186/0.2252, allocations: 55.92 kB / 0.9373 GB, free: 17.84 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003981/0.2256, allocations: 32.05 kB / 0.9373 GB, free: 17.8 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005418/0.2261, allocations: 243.4 kB / 0.9375 GB, free: 17.54 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001428/0.2263, allocations: 0.7004 MB / 0.9382 GB, free: 16.81 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 7.403e-05/0.2264, allocations: 12.42 kB / 0.9382 GB, free: 16.8 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.48e-05/0.2264, allocations: 19.36 kB / 0.9383 GB, free: 16.78 MB / 0.5886 GB Notification: Performance of SimCode: time 6.11e-07/0.2264, allocations: 0 / 0.9383 GB, free: 16.78 MB / 0.5886 GB Notification: Performance of Templates: time 0.005703/0.2322, allocations: 1.764 MB / 0.94 GB, free: 15.02 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.makefile (rm -f Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; mkfifo Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe >> ../files/Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.sim & ./Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1)