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.001092/0.001092, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001145/0.001145, allocations: 193.1 kB / 16.25 MB, free: 6.629 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.249/1.249, allocations: 205.1 MB / 222.1 MB, free: 4.68 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.586/1.586, allocations: 292.3 MB / 0.5486 GB, free: 13.61 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.001242/0.001242, allocations: 69.52 kB / 0.6711 GB, free: 26.57 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.1751, allocations: 114.5 MB / 0.783 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.002177/0.1773, allocations: 1.568 MB / 0.7845 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001026/0.1784, allocations: 0.7878 MB / 0.7853 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.442e-05/0.1784, allocations: 7.938 kB / 0.7853 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.843e-05/0.1784, allocations: 3.938 kB / 0.7853 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.795e-05/0.1785, allocations: 3.938 kB / 0.7853 GB, free: 11.37 MB / 0.6075 GB [/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.0003211/0.1788, allocations: 111.8 kB / 0.7854 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.842e-05/0.1789, allocations: 87.7 kB / 0.7855 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.794e-05/0.179, allocations: 11.98 kB / 0.7855 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.658e-05/0.179, allocations: 39.84 kB / 0.7855 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.955e-05/0.1791, allocations: 43.83 kB / 0.7856 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.1791, allocations: 8 kB / 0.7856 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001329/0.1793, allocations: 87.86 kB / 0.7857 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.198e-05/0.1793, allocations: 27.89 kB / 0.7857 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.356e-05/0.1793, allocations: 35.86 kB / 0.7857 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000161/0.1795, allocations: 147.8 kB / 0.7859 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.1795, allocations: 0 / 0.7859 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of FrontEnd: time 6.81e-07/0.1795, allocations: 0 / 0.7859 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.806e-06/0.1795, allocations: 4 kB / 0.7859 GB, free: 10.77 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.000517/0.18, allocations: 466.5 kB / 0.7863 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.275e-05/0.1801, allocations: 8.031 kB / 0.7863 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.982e-05/0.1801, allocations: 38.75 kB / 0.7864 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.545e-05/0.1801, allocations: 8.844 kB / 0.7864 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.629e-05/0.1802, allocations: 176.3 kB / 0.7865 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.677e-06/0.1803, allocations: 4.312 kB / 0.7865 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.27e-05/0.1803, allocations: 12.38 kB / 0.7865 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001396/0.1804, allocations: 69.78 kB / 0.7866 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.128e-06/0.1804, allocations: 0 / 0.7866 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.1805, allocations: 11.98 kB / 0.7866 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.084e-06/0.1805, allocations: 0 / 0.7866 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001111/0.1806, allocations: 35.97 kB / 0.7867 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004101/0.181, allocations: 328.7 kB / 0.787 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/0.1811, allocations: 58.55 kB / 0.787 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.842e-05/0.1812, allocations: 40.84 kB / 0.7871 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.11e-05/0.1812, allocations: 0 / 0.7871 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000173/0.1814, allocations: 99.33 kB / 0.7872 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/0.1814, allocations: 4 kB / 0.7872 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0003213/0.1818, allocations: 157.5 kB / 0.7873 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.1818, allocations: 51.41 kB / 0.7874 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.088e-05/0.1819, allocations: 136.9 kB / 0.7875 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.1819, allocations: 25.7 kB / 0.7875 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.553e-05/0.182, allocations: 96.47 kB / 0.7876 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.378e-05/0.182, allocations: 27.69 kB / 0.7876 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.586e-05/0.182, allocations: 33.7 kB / 0.7877 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.218e-05/0.1821, allocations: 322.8 kB / 0.788 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.489e-05/0.1822, allocations: 27.97 kB / 0.788 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.312e-05/0.1823, allocations: 61.14 kB / 0.7881 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001592/0.1825, allocations: 109 kB / 0.7882 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.1825, allocations: 4 kB / 0.7882 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002156/0.1827, allocations: 125.4 kB / 0.7883 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.007e-05/0.1827, allocations: 12.12 kB / 0.7883 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.705e-06/0.1827, allocations: 0 / 0.7883 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.802e-06/0.1827, allocations: 0 / 0.7883 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.1828, allocations: 19.98 kB / 0.7883 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.1829, allocations: 4 kB / 0.7883 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.707e-05/0.183, allocations: 15.86 kB / 0.7883 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.183, allocations: 4 kB / 0.7883 GB, free: 7.953 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.954e-05/0.1831, allocations: 125.8 kB / 0.7885 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.92e-05/0.1831, allocations: 11.91 kB / 0.7885 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002845/0.1834, allocations: 149.9 kB / 0.7886 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1834, allocations: 0 / 0.7886 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.033e-06/0.1834, allocations: 0 / 0.7886 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.1834, allocations: 4 kB / 0.7886 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005004/0.1839, allocations: 426.3 kB / 0.789 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1839, allocations: 4 kB / 0.789 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.681e-05/0.184, allocations: 11.94 kB / 0.789 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.184, allocations: 0 / 0.789 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.184, allocations: 8.359 kB / 0.7891 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.184, allocations: 3.938 kB / 0.7891 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.184, allocations: 4 kB / 0.7891 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002576/0.1843, allocations: 227.5 kB / 0.7893 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.568e-05/0.1843, allocations: 92.95 kB / 0.7894 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.045e-05/0.1844, allocations: 4 kB / 0.7894 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.1845, allocations: 11.92 kB / 0.7894 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.777e-05/0.1845, allocations: 7.984 kB / 0.7894 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.1846, allocations: 12 kB / 0.7894 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.819e-05/0.1846, allocations: 95.27 kB / 0.7895 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1846, allocations: 3.938 kB / 0.7895 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002769/0.1849, allocations: 43.98 kB / 0.7895 GB, free: 6.625 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.0006552/0.1856, allocations: 0.8147 MB / 0.7903 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002105/0.1858, allocations: 95.77 kB / 0.7904 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1858, allocations: 0 / 0.7904 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.611e-05/0.1859, allocations: 55.89 kB / 0.7905 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002543/0.1862, allocations: 23.86 kB / 0.7905 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001427/0.1876, allocations: 1.609 MB / 0.7921 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002208/0.1878, allocations: 0.6924 MB / 0.7927 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.474e-05/0.1879, allocations: 12.42 kB / 0.7928 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.273e-05/0.1879, allocations: 27.42 kB / 0.7928 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.1879, allocations: 0 / 0.7928 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8669/1.055, allocations: 2.898 MB / 0.7956 GB, free: 404 kB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001851/1.055, allocations: 254 kB / 0.7959 GB, free: 148 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.277/3.332, allocations: 7.938 kB / 0.7959 GB, free: 140 kB / 0.6075 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)