Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 104.3 kB / 16.29 MB, free: 6.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001382/0.001383, allocations: 185 kB / 17.22 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.521/1.521, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.903/1.903, allocations: 292.3 MB / 0.5495 GB, free: 17.67 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 74.86 kB / 0.6722 GB, free: 6.598 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2871/0.2887, allocations: 114.5 MB / 0.7841 GB, free: 3.93 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.003102/0.2918, allocations: 1.503 MB / 0.7855 GB, free: 2.41 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001358/0.2932, allocations: 0.7955 MB / 0.7863 GB, free: 1.605 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.311e-05/0.2932, allocations: 0 / 0.7863 GB, free: 1.605 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.23e-05/0.2933, allocations: 3.938 kB / 0.7863 GB, free: 1.602 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001628/0.2935, allocations: 19.84 kB / 0.7863 GB, free: 1.582 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:127:7-213:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.random'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:851:5-931:39:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:499:7-563:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift1024star.initialState' contains a call to impure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Occupants/BaseClasses/binaryVariableGeneration.mo:2:1-32:29:writable] Warning: Pure function 'Buildings.Occupants.BaseClasses.binaryVariableGeneration' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift1024star.initialState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 NFTyping.typeClassSections: time 0.0006167/0.2941, allocations: 135.5 kB / 0.7865 GB, free: 1.449 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001971/0.2943, allocations: 87.7 kB / 0.7866 GB, free: 1.363 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.2944, allocations: 8 kB / 0.7866 GB, free: 1.355 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.2945, allocations: 35.91 kB / 0.7866 GB, free: 1.32 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.846e-05/0.2946, allocations: 43.77 kB / 0.7866 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.312e-05/0.2946, allocations: 12 kB / 0.7866 GB, free: 1.266 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001994/0.2949, allocations: 91.91 kB / 0.7867 GB, free: 1.176 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.425e-05/0.2949, allocations: 19.92 kB / 0.7868 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.728e-05/0.295, allocations: 39.78 kB / 0.7868 GB, free: 1.117 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000273/0.2952, allocations: 147.8 kB / 0.7869 GB, free: 0.9727 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2953, allocations: 0 / 0.7869 GB, free: 0.9727 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.024e-06/0.2953, allocations: 0 / 0.7869 GB, free: 0.9727 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.2953, allocations: 0 / 0.7869 GB, free: 0.9727 MB / 0.6544 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.0007493/0.296, allocations: 462.7 kB / 0.7874 GB, free: 472 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.2961, allocations: 8.031 kB / 0.7874 GB, free: 464 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.474e-05/0.2961, allocations: 12.84 kB / 0.7874 GB, free: 452 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001865/0.2963, allocations: 176.2 kB / 0.7876 GB, free: 236 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.2963, allocations: 8.375 kB / 0.7876 GB, free: 228 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.692e-05/0.2964, allocations: 4.375 kB / 0.7876 GB, free: 224 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002339/0.2966, allocations: 81.89 kB / 0.7877 GB, free: 136 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.2966, allocations: 0 / 0.7877 GB, free: 136 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.2966, allocations: 0 / 0.7877 GB, free: 136 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.2966, allocations: 0 / 0.7877 GB, free: 136 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001276/0.2968, allocations: 47.97 kB / 0.7877 GB, free: 88 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4428/0.7396, allocations: 317.2 kB / 0.788 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001625/0.7398, allocations: 63.08 kB / 0.7881 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.195e-05/0.7399, allocations: 35.11 kB / 0.7881 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.942e-05/0.74, allocations: 1.656 kB / 0.7881 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002764/0.7402, allocations: 103.2 kB / 0.7882 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 3.015e-06/0.7403, allocations: 0 / 0.7882 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.000379/0.7406, allocations: 158.3 kB / 0.7883 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.7407, allocations: 55.55 kB / 0.7884 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.665e-05/0.7408, allocations: 125.3 kB / 0.7885 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.7408, allocations: 33.48 kB / 0.7885 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.499e-05/0.7409, allocations: 98.84 kB / 0.7886 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.419e-05/0.7409, allocations: 18.78 kB / 0.7887 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.642e-05/0.741, allocations: 32.81 kB / 0.7887 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.487e-05/0.7411, allocations: 324.1 kB / 0.789 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.076e-05/0.7411, allocations: 28.33 kB / 0.789 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.759e-05/0.7412, allocations: 62.62 kB / 0.7891 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/0.7414, allocations: 104.7 kB / 0.7892 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.7414, allocations: 0 / 0.7892 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002106/0.7416, allocations: 134 kB / 0.7893 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.7416, allocations: 5.156 kB / 0.7893 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-06/0.7416, allocations: 0 / 0.7893 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.7417, allocations: 6.172 kB / 0.7893 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.7418, allocations: 18.5 kB / 0.7893 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.228e-06/0.7418, allocations: 7.719 kB / 0.7894 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/0.7419, allocations: 16.17 kB / 0.7894 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/0.7419, allocations: 11.62 kB / 0.7894 GB, free: 47.85 MB / 0.6544 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 (lig.curSeed,$PRE.lig.curSeed,lig.on,$PRE.lig.on,$whenCondition3,lig.sampleTrigger,$whenCondition2,occ.pulseStart,$PRE.occ.pulseStart,occ.y,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.984e-05/0.742, allocations: 119.8 kB / 0.7895 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.884e-05/0.742, allocations: 15.98 kB / 0.7895 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003029/0.7423, allocations: 145.6 kB / 0.7896 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.7424, allocations: 0.5625 kB / 0.7896 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.7424, allocations: 5.312 kB / 0.7897 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.7424, allocations: 3.828 kB / 0.7897 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004648/0.7429, allocations: 426.2 kB / 0.7901 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.7429, allocations: 0 / 0.7901 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.413e-05/0.7429, allocations: 13.5 kB / 0.7901 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.7429, allocations: 2.875 kB / 0.7901 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.743, allocations: 5.094 kB / 0.7901 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.743, allocations: 2.188 kB / 0.7901 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.743, allocations: 0.875 kB / 0.7901 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002397/0.7432, allocations: 231.7 kB / 0.7903 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.723e-05/0.7433, allocations: 84.45 kB / 0.7904 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.238e-05/0.7433, allocations: 2.719 kB / 0.7904 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.7434, allocations: 10.27 kB / 0.7904 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.948e-05/0.7435, allocations: 10.33 kB / 0.7904 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.89e-05/0.7435, allocations: 9.906 kB / 0.7904 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.704e-05/0.7435, allocations: 104.1 kB / 0.7905 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7435, allocations: 0.5625 kB / 0.7905 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003206/0.7439, allocations: 45.83 kB / 0.7906 GB, free: 47.09 MB / 0.6544 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 (occ.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,occ.pulseStart) * 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 (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.0003572/0.7442, allocations: 166.5 kB / 0.7907 GB, free: 47 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002272/0.7445, allocations: 84.11 kB / 0.7908 GB, free: 47 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.7445, allocations: 3.938 kB / 0.7908 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.947e-05/0.7446, allocations: 49.47 kB / 0.7909 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/0.7449, allocations: 17.22 kB / 0.7909 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004444/0.7453, allocations: 200.2 kB / 0.7911 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000179/0.7455, allocations: 0.6955 MB / 0.7917 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.332e-05/0.7456, allocations: 7.844 kB / 0.7917 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.904e-05/0.7456, allocations: 21.92 kB / 0.7918 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.7456, allocations: 0 / 0.7918 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of Templates: time 0.005296/0.7509, allocations: 1.799 MB / 0.7935 GB, free: 46.1 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & ./Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1)