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: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 191.3 kB / 16.53 MB, free: 6.391 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.193/1.193, allocations: 205.1 MB / 222.4 MB, free: 4.594 MB / 174.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.433/1.433, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001235/0.001235, allocations: 72.62 kB / 0.6716 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1557, allocations: 114.5 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.002298/0.1581, allocations: 1.511 MB / 0.7849 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001119/0.1592, allocations: 0.7965 MB / 0.7857 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.826e-05/0.1593, allocations: 4 kB / 0.7857 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.705e-05/0.1593, allocations: 7.938 kB / 0.7857 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.531e-05/0.1594, allocations: 11.86 kB / 0.7857 GB, free: 11.03 MB / 0.6075 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.0004824/0.1599, allocations: 131.5 kB / 0.7859 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.666e-05/0.16, allocations: 87.64 kB / 0.786 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.75e-05/0.1601, allocations: 15.98 kB / 0.786 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.799e-05/0.1601, allocations: 35.86 kB / 0.786 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.408e-05/0.1602, allocations: 43.83 kB / 0.786 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.1602, allocations: 4 kB / 0.786 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001553/0.1604, allocations: 95.91 kB / 0.7861 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.492e-05/0.1604, allocations: 23.91 kB / 0.7862 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.175e-05/0.1605, allocations: 31.86 kB / 0.7862 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001969/0.1607, allocations: 155.8 kB / 0.7863 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.1607, allocations: 0 / 0.7863 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.133e-06/0.1607, allocations: 4 kB / 0.7863 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.1607, allocations: 0 / 0.7863 GB, free: 10.41 MB / 0.6075 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.0005939/0.1613, allocations: 466.5 kB / 0.7868 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.1613, allocations: 12.03 kB / 0.7868 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.172e-05/0.1614, allocations: 30.75 kB / 0.7868 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.223e-05/0.1614, allocations: 12.84 kB / 0.7868 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.1615, allocations: 176.3 kB / 0.787 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.1615, allocations: 4.375 kB / 0.787 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.292e-05/0.1616, allocations: 4.375 kB / 0.787 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.1617, allocations: 81.7 kB / 0.7871 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.1617, allocations: 4 kB / 0.7871 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.1618, allocations: 0 / 0.7871 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.1618, allocations: 0 / 0.7871 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001131/0.1619, allocations: 43.97 kB / 0.7871 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004238/0.1623, allocations: 316.7 kB / 0.7874 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.1625, allocations: 70.55 kB / 0.7875 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.624e-05/0.1625, allocations: 28.84 kB / 0.7875 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.1626, allocations: 4 kB / 0.7875 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001787/0.1627, allocations: 91.59 kB / 0.7876 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.423e-06/0.1627, allocations: 3.938 kB / 0.7876 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0003368/0.1631, allocations: 161.5 kB / 0.7878 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/0.1631, allocations: 63.34 kB / 0.7879 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.842e-05/0.1632, allocations: 125.7 kB / 0.788 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.1632, allocations: 33.7 kB / 0.788 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.15e-05/0.1633, allocations: 84.38 kB / 0.7881 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.925e-05/0.1633, allocations: 23.7 kB / 0.7881 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.372e-05/0.1634, allocations: 37.64 kB / 0.7881 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.999e-05/0.1635, allocations: 326.8 kB / 0.7885 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.716e-05/0.1635, allocations: 27.98 kB / 0.7885 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.722e-05/0.1636, allocations: 65.14 kB / 0.7885 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.1638, allocations: 101.1 kB / 0.7886 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1638, allocations: 0 / 0.7886 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002156/0.164, allocations: 133.4 kB / 0.7888 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.164, allocations: 4.938 kB / 0.7888 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.164, allocations: 0 / 0.7888 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.1641, allocations: 12.06 kB / 0.7888 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.41e-05/0.1642, allocations: 15.98 kB / 0.7888 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.718e-06/0.1642, allocations: 0 / 0.7888 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.525e-05/0.1643, allocations: 19.92 kB / 0.7888 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.1643, allocations: 4 kB / 0.7888 GB, free: 7.594 MB / 0.6075 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.305e-05/0.1644, allocations: 121.7 kB / 0.7889 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.603e-05/0.1644, allocations: 7.906 kB / 0.7889 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002662/0.1647, allocations: 146 kB / 0.7891 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.1647, allocations: 7.938 kB / 0.7891 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.1647, allocations: 0 / 0.7891 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.1647, allocations: 3.984 kB / 0.7891 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004763/0.1652, allocations: 430.2 kB / 0.7895 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1652, allocations: 0 / 0.7895 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.23e-05/0.1653, allocations: 11.98 kB / 0.7895 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1653, allocations: 4 kB / 0.7895 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.1653, allocations: 4 kB / 0.7895 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.1653, allocations: 7.938 kB / 0.7895 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1653, allocations: 3.938 kB / 0.7895 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002505/0.1655, allocations: 231.3 kB / 0.7898 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.963e-05/0.1656, allocations: 85.39 kB / 0.7898 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/0.1656, allocations: 0 / 0.7898 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.1657, allocations: 23.92 kB / 0.7899 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.254e-05/0.1658, allocations: 7.984 kB / 0.7899 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.1658, allocations: 7.938 kB / 0.7899 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.911e-05/0.1658, allocations: 101.8 kB / 0.79 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1659, allocations: 0 / 0.79 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002613/0.1661, allocations: 39.98 kB / 0.79 GB, free: 6.27 MB / 0.6075 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.0006277/0.1668, allocations: 0.8163 MB / 0.7908 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002035/0.167, allocations: 87.89 kB / 0.7909 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.167, allocations: 256 / 0.7909 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.897e-05/0.1671, allocations: 55.84 kB / 0.7909 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002494/0.1673, allocations: 22.67 kB / 0.791 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001371/0.1687, allocations: 1.584 MB / 0.7925 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002064/0.1689, allocations: 0.6963 MB / 0.7932 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.167e-05/0.169, allocations: 8.438 kB / 0.7932 GB, free: 2.859 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.491e-05/0.169, allocations: 27.42 kB / 0.7932 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.169, allocations: 3.938 kB / 0.7932 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.348/1.517, allocations: 3.052 MB / 0.7962 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.355/8.872, allocations: 5.5 kB / 0.7962 GB, free: 15.88 MB / 0.6231 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.fmu > Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1)