Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.819/1.819, allocations: 306.1 MB / 321.4 MB, free: 10.76 MB / 250.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.001344/0.001344, allocations: 171.5 kB / 393.1 MB, free: 4.082 MB / 314.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.379/1.379, allocations: 225.7 MB / 0.6743 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007411/0.0007407, allocations: 93.81 kB / 0.7935 GB, free: 40.08 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003429/0.000343, allocations: 8 kB / 0.9224 GB, free: 8.668 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5794/0.5797, allocations: 121.3 MB / 1.041 GB, free: 58.36 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.001517/0.5813, allocations: 1.238 MB / 1.042 GB, free: 57.54 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001148/0.5825, allocations: 1.014 MB / 1.043 GB, free: 56.69 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.855e-05/0.5825, allocations: 1.562 kB / 1.043 GB, free: 56.69 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.599e-05/0.5826, allocations: 7.688 kB / 1.043 GB, free: 56.68 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 8.612e-05/0.5826, allocations: 11.88 kB / 1.043 GB, free: 56.67 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004227/0.5831, allocations: 110.7 kB / 1.043 GB, free: 56.62 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001054/0.5832, allocations: 98.62 kB / 1.043 GB, free: 56.57 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 7.994e-05/0.5833, allocations: 13.59 kB / 1.043 GB, free: 56.57 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.118e-05/0.5834, allocations: 37.31 kB / 1.043 GB, free: 56.55 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.721e-05/0.5834, allocations: 54.92 kB / 1.043 GB, free: 56.53 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.5835, allocations: 1.062 kB / 1.043 GB, free: 56.53 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001481/0.5836, allocations: 87.69 kB / 1.043 GB, free: 56.5 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.622e-05/0.5837, allocations: 15.23 kB / 1.043 GB, free: 56.5 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.221e-05/0.5837, allocations: 64.84 kB / 1.044 GB, free: 56.45 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002015/0.5839, allocations: 151.3 kB / 1.044 GB, free: 56.4 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.5839, allocations: 0 / 1.044 GB, free: 56.4 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5839, allocations: 2.188 kB / 1.044 GB, free: 56.4 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.477e-06/0.584, allocations: 0 / 1.044 GB, free: 56.4 MB / 0.698 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.0005674/0.5845, allocations: 487.7 kB / 1.044 GB, free: 55.92 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.5846, allocations: 14.22 kB / 1.044 GB, free: 55.92 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.254e-05/0.5846, allocations: 6.844 kB / 1.044 GB, free: 55.91 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.156e-05/0.5847, allocations: 176.8 kB / 1.044 GB, free: 55.71 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.5847, allocations: 2.031 kB / 1.044 GB, free: 55.71 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.176e-05/0.5848, allocations: 13.5 kB / 1.044 GB, free: 55.71 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.5849, allocations: 83.3 kB / 1.044 GB, free: 55.66 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.585, allocations: 1.031 kB / 1.044 GB, free: 55.66 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.585, allocations: 0 / 1.044 GB, free: 55.66 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.585, allocations: 2.312 kB / 1.044 GB, free: 55.66 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001483/0.5851, allocations: 57.94 kB / 1.044 GB, free: 55.64 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004525/0.5856, allocations: 343.8 kB / 1.045 GB, free: 55.33 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001946/0.5858, allocations: 85.23 kB / 1.045 GB, free: 55.29 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.588e-05/0.5859, allocations: 42.58 kB / 1.045 GB, free: 55.27 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.999e-05/0.5859, allocations: 1.5 kB / 1.045 GB, free: 55.27 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002063/0.5861, allocations: 107.4 kB / 1.045 GB, free: 55.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 1.513e-06/0.5861, allocations: 0 / 1.045 GB, free: 55.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0003826/0.5865, allocations: 177.5 kB / 1.045 GB, free: 55.12 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.648e-05/0.5866, allocations: 58.5 kB / 1.045 GB, free: 55.06 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.631e-05/0.5867, allocations: 127.3 kB / 1.045 GB, free: 54.95 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.5867, allocations: 31.3 kB / 1.045 GB, free: 54.91 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.36e-05/0.5867, allocations: 95.52 kB / 1.046 GB, free: 54.82 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.487e-05/0.5867, allocations: 35.36 kB / 1.046 GB, free: 54.79 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.733e-06/0.5868, allocations: 3.094 kB / 1.046 GB, free: 54.79 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.521e-05/0.5868, allocations: 329.5 kB / 1.046 GB, free: 54.46 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.131e-05/0.5869, allocations: 33.12 kB / 1.046 GB, free: 54.46 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.551e-05/0.587, allocations: 73.27 kB / 1.046 GB, free: 54.39 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001569/0.5872, allocations: 109.9 kB / 1.046 GB, free: 54.32 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.5872, allocations: 0.6875 kB / 1.046 GB, free: 54.32 MB / 0.698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002282/0.5874, allocations: 140.1 kB / 1.046 GB, free: 54.25 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.5874, allocations: 10.66 kB / 1.046 GB, free: 54.25 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.5874, allocations: 1.781 kB / 1.046 GB, free: 54.25 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.5875, allocations: 4.5 kB / 1.046 GB, free: 54.25 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.5876, allocations: 25.84 kB / 1.046 GB, free: 54.23 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.5876, allocations: 5.312 kB / 1.046 GB, free: 54.23 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.567e-05/0.5877, allocations: 10.22 kB / 1.046 GB, free: 54.23 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.5877, allocations: 4.953 kB / 1.046 GB, free: 54.23 MB / 0.698 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 6.536e-05/0.5878, allocations: 128.3 kB / 1.046 GB, free: 54.11 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.634e-05/0.5878, allocations: 8.938 kB / 1.046 GB, free: 54.11 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003103/0.5881, allocations: 173.4 kB / 1.047 GB, free: 54.02 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.5881, allocations: 2.062 kB / 1.047 GB, free: 54.02 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.5881, allocations: 4 kB / 1.047 GB, free: 54.02 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.5882, allocations: 0 / 1.047 GB, free: 54.02 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004896/0.5886, allocations: 460.6 kB / 1.047 GB, free: 53.66 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.5887, allocations: 2.844 kB / 1.047 GB, free: 53.66 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.302e-05/0.5887, allocations: 11.73 kB / 1.047 GB, free: 53.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.5887, allocations: 0 / 1.047 GB, free: 53.66 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.5888, allocations: 9.594 kB / 1.047 GB, free: 53.65 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.5888, allocations: 0 / 1.047 GB, free: 53.65 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.5888, allocations: 3.938 kB / 1.047 GB, free: 53.65 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002602/0.589, allocations: 246.6 kB / 1.047 GB, free: 53.48 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.383e-05/0.5891, allocations: 87.55 kB / 1.047 GB, free: 53.38 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.284e-05/0.5891, allocations: 6.484 kB / 1.047 GB, free: 53.38 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.5892, allocations: 10.8 kB / 1.047 GB, free: 53.37 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.758e-05/0.5893, allocations: 13.61 kB / 1.047 GB, free: 53.37 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/0.5893, allocations: 15.28 kB / 1.047 GB, free: 53.36 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.374e-05/0.5894, allocations: 103.4 kB / 1.047 GB, free: 53.28 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5894, allocations: 0 / 1.047 GB, free: 53.28 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002704/0.5896, allocations: 46.91 kB / 1.048 GB, free: 53.27 MB / 0.698 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.0002952/0.5899, allocations: 178.1 kB / 1.048 GB, free: 53.15 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002347/0.5902, allocations: 100.2 kB / 1.048 GB, free: 53.12 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.5902, allocations: 0 / 1.048 GB, free: 53.12 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001083/0.5903, allocations: 56.52 kB / 1.048 GB, free: 53.11 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002717/0.5906, allocations: 24.38 kB / 1.048 GB, free: 53.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004057/0.591, allocations: 256.1 kB / 1.048 GB, free: 52.91 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001057/0.5911, allocations: 0.7012 MB / 1.049 GB, free: 52.21 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.13e-05/0.5912, allocations: 8.219 kB / 1.049 GB, free: 52.21 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.542e-05/0.5912, allocations: 15.05 kB / 1.049 GB, free: 52.2 MB / 0.698 GB Notification: Performance of SimCode: time 3.41e-07/0.5912, allocations: 0 / 1.049 GB, free: 52.2 MB / 0.698 GB Notification: Performance of Templates: time 0.004043/0.5953, allocations: 1.808 MB / 1.051 GB, free: 52.05 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.sim & ./Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1)