Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01532/0.01532, allocations: 110.2 kB / 15.05 MB, free: 5.965 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001795/0.001795, allocations: 183.8 kB / 15.94 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.884/1.884, allocations: 194.6 MB / 211.3 MB, free: 11.04 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.315/2.315, allocations: 236.2 MB / 492.6 MB, free: 11.31 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004615/0.0004617, allocations: 8 kB / 0.5869 GB, free: 2.156 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5746/0.5751, allocations: 98.71 MB / 0.6833 GB, free: 16.76 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2329/0.808, allocations: 126.7 MB / 0.8071 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002927/0.8083, allocations: 87.94 kB / 0.8072 GB, free: 15.45 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.01388/0.8222, allocations: 3.123 MB / 0.8102 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.38e-06/0.8223, allocations: 4 kB / 0.8102 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.223e-06/0.8223, allocations: 0 / 0.8102 GB, free: 12.32 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007707/0.8231, allocations: 466.4 kB / 0.8107 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.8231, allocations: 8.031 kB / 0.8107 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.335e-05/0.8232, allocations: 15.8 kB / 0.8107 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001813/0.8234, allocations: 175 kB / 0.8109 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.8234, allocations: 8 kB / 0.8109 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.409e-05/0.8235, allocations: 4 kB / 0.8109 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002213/0.8237, allocations: 73.64 kB / 0.811 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.72e-06/0.8237, allocations: 0 / 0.811 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.8238, allocations: 0 / 0.811 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.15e-06/0.8238, allocations: 4 kB / 0.811 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001869/0.824, allocations: 47.91 kB / 0.811 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000732/0.8247, allocations: 328.7 kB / 0.8113 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002035/0.8249, allocations: 70.64 kB / 0.8114 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.287e-05/0.825, allocations: 3.938 kB / 0.8114 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002454/0.8252, allocations: 99.44 kB / 0.8115 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 2.74e-06/0.8253, allocations: 0 / 0.8115 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0005353/0.8258, allocations: 165.4 kB / 0.8116 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.515e-05/0.8259, allocations: 63.34 kB / 0.8117 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.826, allocations: 113 kB / 0.8118 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.856e-05/0.8261, allocations: 25.7 kB / 0.8118 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.913e-05/0.8262, allocations: 96.36 kB / 0.8119 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.639e-05/0.8262, allocations: 19.72 kB / 0.8119 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.117e-06/0.8262, allocations: 0 / 0.8119 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.8264, allocations: 322.8 kB / 0.8123 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001088/0.8265, allocations: 31.98 kB / 0.8123 GB, free: 9.996 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/0.8267, allocations: 69.06 kB / 0.8123 GB, free: 9.91 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001256/0.8268, allocations: 36 kB / 0.8124 GB, free: 9.875 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.161e-06/0.8268, allocations: 0 / 0.8124 GB, free: 9.875 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003606/0.8272, allocations: 133.4 kB / 0.8125 GB, free: 9.738 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.8272, allocations: 4 kB / 0.8125 GB, free: 9.734 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.413e-06/0.8272, allocations: 4 kB / 0.8125 GB, free: 9.73 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.8273, allocations: 0 / 0.8125 GB, free: 9.73 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001744/0.8275, allocations: 28.05 kB / 0.8125 GB, free: 9.703 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.8275, allocations: 7.953 kB / 0.8126 GB, free: 9.695 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001377/0.8276, allocations: 19.83 kB / 0.8126 GB, free: 9.676 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.187e-05/0.8277, allocations: 7.984 kB / 0.8126 GB, free: 9.668 MB / 0.6355 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,lig.occ,$PRE.occ.pulsStart,occ.pulsStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 0.0001334/0.8278, allocations: 121.8 kB / 0.8127 GB, free: 9.539 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.812e-05/0.8278, allocations: 7.984 kB / 0.8127 GB, free: 9.531 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004389/0.8283, allocations: 157.8 kB / 0.8129 GB, free: 9.371 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.676e-06/0.8283, allocations: 0 / 0.8129 GB, free: 9.371 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.027e-06/0.8283, allocations: 0 / 0.8129 GB, free: 9.371 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.8283, allocations: 3.953 kB / 0.8129 GB, free: 9.367 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008012/0.8292, allocations: 430.4 kB / 0.8133 GB, free: 8.891 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.402e-06/0.8292, allocations: 0 / 0.8133 GB, free: 8.891 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.829e-05/0.8293, allocations: 11.98 kB / 0.8133 GB, free: 8.879 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.94e-06/0.8293, allocations: 384 / 0.8133 GB, free: 8.879 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.064e-05/0.8293, allocations: 8 kB / 0.8133 GB, free: 8.871 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.131e-06/0.8293, allocations: 3.953 kB / 0.8133 GB, free: 8.867 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.8294, allocations: 0 / 0.8133 GB, free: 8.867 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004179/0.8298, allocations: 243.2 kB / 0.8135 GB, free: 8.613 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.56e-05/0.8299, allocations: 85.02 kB / 0.8136 GB, free: 8.512 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.835e-05/0.8299, allocations: 0 / 0.8136 GB, free: 8.512 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001653/0.8301, allocations: 15.98 kB / 0.8136 GB, free: 8.496 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.103e-05/0.8301, allocations: 11.94 kB / 0.8136 GB, free: 8.484 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.91e-05/0.8302, allocations: 7.984 kB / 0.8136 GB, free: 8.477 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.602e-05/0.8303, allocations: 112 kB / 0.8137 GB, free: 8.367 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.79e-07/0.8303, allocations: 0 / 0.8137 GB, free: 8.367 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004685/0.8308, allocations: 51.88 kB / 0.8138 GB, free: 8.316 MB / 0.6355 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 (lig.occ,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,occ.pulsStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * 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.0004465/0.8312, allocations: 171.5 kB / 0.814 GB, free: 8.152 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003399/0.8316, allocations: 87.89 kB / 0.814 GB, free: 8.066 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.882e-06/0.8316, allocations: 4 kB / 0.814 GB, free: 8.062 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001528/0.8318, allocations: 47.91 kB / 0.8141 GB, free: 8.016 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002572/0.8321, allocations: 12.39 kB / 0.8141 GB, free: 8.008 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005706/0.8326, allocations: 239.2 kB / 0.8143 GB, free: 7.75 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003724/0.833, allocations: 0.6926 MB / 0.815 GB, free: 7.031 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.852e-05/0.8331, allocations: 16.42 kB / 0.815 GB, free: 7.016 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.677e-05/0.8332, allocations: 15.38 kB / 0.815 GB, free: 7 MB / 0.6355 GB Notification: Performance of SimCode: time 1.435e-06/0.8332, allocations: 0 / 0.815 GB, free: 7 MB / 0.6355 GB Notification: Performance of Templates: time 0.006126/0.8393, allocations: 1.804 MB / 0.8168 GB, free: 5.199 MB / 0.6355 GB