Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.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.Love1998Light1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 106.1 kB / 16.29 MB, free: 6.027 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.001191/0.001191, allocations: 184.6 kB / 17.22 MB, free: 5.633 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.542/1.542, 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.823/1.823, allocations: 292.3 MB / 0.5495 GB, free: 17.45 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.001461/0.001461, allocations: 67.91 kB / 0.6722 GB, free: 6.547 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2878/0.2892, allocations: 114.6 MB / 0.7841 GB, free: 3.879 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.003044/0.2923, allocations: 1.496 MB / 0.7855 GB, free: 2.363 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001459/0.2938, allocations: 0.7916 MB / 0.7863 GB, free: 1.562 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.206e-05/0.2939, allocations: 0 / 0.7863 GB, free: 1.562 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.502e-05/0.2939, allocations: 7.875 kB / 0.7863 GB, free: 1.555 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.893e-05/0.294, allocations: 19.86 kB / 0.7863 GB, free: 1.535 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.0006571/0.2947, allocations: 127.5 kB / 0.7865 GB, free: 1.41 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000141/0.2948, allocations: 87.7 kB / 0.7865 GB, free: 1.324 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.295, allocations: 15.98 kB / 0.7866 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.66e-05/0.2951, allocations: 35.86 kB / 0.7866 GB, free: 1.273 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.673e-05/0.2952, allocations: 43.81 kB / 0.7866 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.21e-05/0.2952, allocations: 8 kB / 0.7866 GB, free: 1.223 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002019/0.2954, allocations: 95.84 kB / 0.7867 GB, free: 1.129 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.842e-05/0.2954, allocations: 19.92 kB / 0.7868 GB, free: 1.109 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.421e-05/0.2955, allocations: 31.8 kB / 0.7868 GB, free: 1.078 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002614/0.2958, allocations: 151.9 kB / 0.7869 GB, free: 0.9297 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.2958, allocations: 0 / 0.7869 GB, free: 0.9297 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.994e-06/0.2958, allocations: 0 / 0.7869 GB, free: 0.9297 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.2958, allocations: 0 / 0.7869 GB, free: 0.9297 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.0007675/0.2966, allocations: 458.7 kB / 0.7874 GB, free: 432 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.2966, allocations: 8.031 kB / 0.7874 GB, free: 424 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.525e-05/0.2967, allocations: 8.844 kB / 0.7874 GB, free: 416 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.2968, allocations: 184.1 kB / 0.7876 GB, free: 192 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.2968, allocations: 8.375 kB / 0.7876 GB, free: 184 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.2969, allocations: 8.375 kB / 0.7876 GB, free: 176 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.2971, allocations: 73.95 kB / 0.7876 GB, free: 96 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.2971, allocations: 3.984 kB / 0.7876 GB, free: 92 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.2971, allocations: 4 kB / 0.7877 GB, free: 88 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.2971, allocations: 4 kB / 0.7877 GB, free: 84 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001266/0.2972, allocations: 39.91 kB / 0.7877 GB, free: 44 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5223/0.8196, allocations: 321.2 kB / 0.788 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001633/0.8198, allocations: 61.14 kB / 0.7881 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.939e-05/0.8199, allocations: 36.92 kB / 0.7881 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.759e-05/0.8199, allocations: 2.625 kB / 0.7881 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000296/0.8202, allocations: 100.8 kB / 0.7882 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 3.326e-06/0.8202, allocations: 0 / 0.7882 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0003793/0.8206, allocations: 156.5 kB / 0.7883 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/0.8206, allocations: 57.56 kB / 0.7884 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.564e-05/0.8207, allocations: 126.3 kB / 0.7885 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.8207, allocations: 37.66 kB / 0.7886 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.992e-05/0.8208, allocations: 87.19 kB / 0.7886 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.489e-05/0.8208, allocations: 22.5 kB / 0.7887 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.417e-05/0.8209, allocations: 35.19 kB / 0.7887 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.885e-05/0.8209, allocations: 320.8 kB / 0.789 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.48e-05/0.821, allocations: 23.95 kB / 0.789 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.493e-05/0.8211, allocations: 67.75 kB / 0.7891 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001394/0.8212, allocations: 104.8 kB / 0.7892 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.8213, allocations: 0 / 0.7892 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002072/0.8215, allocations: 133.4 kB / 0.7893 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.8215, allocations: 5.75 kB / 0.7893 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.8215, allocations: 3.219 kB / 0.7893 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.8215, allocations: 0 / 0.7893 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.8216, allocations: 19.59 kB / 0.7893 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.8217, allocations: 3.312 kB / 0.7893 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.58e-05/0.8218, allocations: 26.05 kB / 0.7894 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.543e-05/0.8218, allocations: 8.906 kB / 0.7894 GB, free: 47.7 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.47e-05/0.8219, allocations: 122.8 kB / 0.7895 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.714e-05/0.8219, allocations: 10.72 kB / 0.7895 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002875/0.8222, allocations: 148.4 kB / 0.7896 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.8222, allocations: 3.844 kB / 0.7896 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.8222, allocations: 0.6562 kB / 0.7896 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.8222, allocations: 1.625 kB / 0.7896 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004357/0.8227, allocations: 425.7 kB / 0.7901 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.8227, allocations: 2.875 kB / 0.7901 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.148e-05/0.8227, allocations: 12.08 kB / 0.7901 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.8227, allocations: 0 / 0.7901 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.8228, allocations: 2.625 kB / 0.7901 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.8228, allocations: 0.5625 kB / 0.7901 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.8228, allocations: 1.312 kB / 0.7901 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002568/0.823, allocations: 236.4 kB / 0.7903 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.483e-05/0.8231, allocations: 86.92 kB / 0.7904 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.274e-05/0.8231, allocations: 0 / 0.7904 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.8232, allocations: 13.53 kB / 0.7904 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.566e-05/0.8233, allocations: 13.45 kB / 0.7904 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.143e-05/0.8233, allocations: 9.578 kB / 0.7904 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.044e-05/0.8234, allocations: 102 kB / 0.7905 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8234, allocations: 0 / 0.7905 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003779/0.8238, allocations: 44.75 kB / 0.7906 GB, free: 46.93 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.0003657/0.8241, allocations: 169.5 kB / 0.7907 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000245/0.8244, allocations: 87.12 kB / 0.7908 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.8244, allocations: 0.7188 kB / 0.7908 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001043/0.8245, allocations: 50.75 kB / 0.7909 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000284/0.8248, allocations: 14.08 kB / 0.7909 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004434/0.8253, allocations: 205.7 kB / 0.7911 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001607/0.8254, allocations: 0.6954 MB / 0.7917 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.961e-05/0.8255, allocations: 8.078 kB / 0.7917 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.459e-05/0.8255, allocations: 16.02 kB / 0.7918 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of SimCode: time 1.9e-07/0.8255, allocations: 0 / 0.7918 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of Templates: time 0.004498/0.83, allocations: 1.796 MB / 0.7935 GB, free: 45.95 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & ./Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1)