Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 2.057/2.057, allocations: 252 MB / 267.3 MB, free: 10.84 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001543/0.001543, allocations: 180.1 kB / 327 MB, free: 2.078 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.091/3.091, allocations: 205.4 MB / 0.578 GB, free: 20.07 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00123/0.00123, allocations: 87.77 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005787/0.0005789, allocations: 11.44 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3735/0.3741, allocations: 106.3 MB / 0.9009 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.002709/0.3769, allocations: 1.223 MB / 0.9021 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002191/0.3791, allocations: 0.7953 MB / 0.9029 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.19e-05/0.3792, allocations: 8 kB / 0.9029 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.623e-05/0.3793, allocations: 3.938 kB / 0.9029 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000137/0.3794, allocations: 7.922 kB / 0.9029 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007903/0.3802, allocations: 103.8 kB / 0.903 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001761/0.3804, allocations: 75.77 kB / 0.9031 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.3806, allocations: 15.98 kB / 0.9031 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001419/0.3807, allocations: 35.8 kB / 0.9031 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.3808, allocations: 43.81 kB / 0.9032 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.773e-05/0.3809, allocations: 4 kB / 0.9032 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002922/0.3812, allocations: 91.84 kB / 0.9033 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.869e-05/0.3813, allocations: 11.98 kB / 0.9033 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.863e-05/0.3813, allocations: 57.5 kB / 0.9033 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003427/0.3817, allocations: 139.7 kB / 0.9035 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3817, allocations: 0 / 0.9035 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.755e-06/0.3817, allocations: 0 / 0.9035 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.3818, allocations: 0 / 0.9035 GB, free: 60.73 MB / 0.6042 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.0009303/0.3827, allocations: 450.9 kB / 0.9039 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.601e-05/0.3828, allocations: 12.03 kB / 0.9039 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.613e-05/0.3829, allocations: 34.69 kB / 0.9039 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.183e-05/0.3829, allocations: 12.84 kB / 0.9039 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001652/0.3831, allocations: 183 kB / 0.9041 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.121e-05/0.3831, allocations: 16.31 kB / 0.9041 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.653e-05/0.3832, allocations: 4.375 kB / 0.9041 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002947/0.3835, allocations: 85.7 kB / 0.9042 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.3835, allocations: 0 / 0.9042 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.988e-05/0.3836, allocations: 0 / 0.9042 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.3836, allocations: 0 / 0.9042 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002452/0.3838, allocations: 43.97 kB / 0.9043 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007772/0.3846, allocations: 324.7 kB / 0.9046 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002325/0.3849, allocations: 62.55 kB / 0.9046 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001332/0.385, allocations: 40.84 kB / 0.9047 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.3851, allocations: 0 / 0.9047 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00031/0.3854, allocations: 95.39 kB / 0.9048 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 2.394e-06/0.3854, allocations: 0 / 0.9048 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0006569/0.3861, allocations: 165.5 kB / 0.9049 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.3861, allocations: 55.56 kB / 0.905 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.3863, allocations: 137.7 kB / 0.9051 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.3863, allocations: 29.7 kB / 0.9051 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.38e-05/0.3864, allocations: 92.36 kB / 0.9052 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.871e-05/0.3864, allocations: 27.64 kB / 0.9052 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.21e-05/0.3865, allocations: 4 kB / 0.9053 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.917e-05/0.3866, allocations: 318.8 kB / 0.9056 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001246/0.3867, allocations: 31.97 kB / 0.9056 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001463/0.3869, allocations: 69.14 kB / 0.9057 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002938/0.3872, allocations: 113 kB / 0.9058 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.3872, allocations: 0 / 0.9058 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004026/0.3876, allocations: 129.5 kB / 0.9059 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.3876, allocations: 12.03 kB / 0.9059 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.3877, allocations: 384 / 0.9059 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.723e-05/0.3877, allocations: 4 kB / 0.9059 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001892/0.3879, allocations: 15.98 kB / 0.9059 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.288e-06/0.3879, allocations: 0 / 0.9059 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001834/0.3881, allocations: 19.92 kB / 0.9059 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.461e-05/0.3882, allocations: 8 kB / 0.9059 GB, free: 57.92 MB / 0.6042 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,occ.y,$PRE.occ.pulseStart,occ.pulseStart) * 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 0.0001111/0.3883, allocations: 140.2 kB / 0.9061 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.676e-05/0.3883, allocations: 7.906 kB / 0.9061 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004705/0.3888, allocations: 146 kB / 0.9062 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.3888, allocations: 3.938 kB / 0.9062 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.3889, allocations: 4 kB / 0.9062 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.3889, allocations: 0 / 0.9062 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000819/0.3897, allocations: 438.3 kB / 0.9066 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.3897, allocations: 0 / 0.9066 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/0.3898, allocations: 11.94 kB / 0.9067 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.3899, allocations: 3.984 kB / 0.9067 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.004e-05/0.3899, allocations: 8 kB / 0.9067 GB, free: 57.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.3899, allocations: 7.938 kB / 0.9067 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3899, allocations: 0 / 0.9067 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000421/0.3903, allocations: 227.3 kB / 0.9069 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.921e-05/0.3904, allocations: 85.02 kB / 0.907 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.467e-05/0.3905, allocations: 0 / 0.907 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002115/0.3907, allocations: 27.92 kB / 0.907 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.413e-05/0.3908, allocations: 7.984 kB / 0.907 GB, free: 56.72 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.586e-05/0.3908, allocations: 4 kB / 0.907 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.813e-05/0.3909, allocations: 102.4 kB / 0.9071 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.7e-07/0.3909, allocations: 0 / 0.9071 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005653/0.3915, allocations: 47.92 kB / 0.9072 GB, free: 56.57 MB / 0.6042 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.001001/0.3925, allocations: 0.8201 MB / 0.908 GB, free: 55.74 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003571/0.3929, allocations: 91.95 kB / 0.908 GB, free: 55.65 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3929, allocations: 0 / 0.908 GB, free: 55.65 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001689/0.3931, allocations: 51.91 kB / 0.9081 GB, free: 55.6 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005171/0.3936, allocations: 24.56 kB / 0.9081 GB, free: 55.58 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002291/0.3959, allocations: 1.62 MB / 0.9097 GB, free: 53.85 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001661/0.3961, allocations: 0.6965 MB / 0.9104 GB, free: 53.13 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 8.362e-05/0.3962, allocations: 8.422 kB / 0.9104 GB, free: 53.12 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.147e-05/0.3963, allocations: 27.42 kB / 0.9104 GB, free: 53.09 MB / 0.6042 GB Notification: Performance of SimCode: time 5.01e-07/0.3963, allocations: 0 / 0.9104 GB, free: 53.09 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01924/0.4155, allocations: 2.741 MB / 0.9131 GB, free: 50.52 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000269/0.4159, allocations: 270.2 kB / 0.9134 GB, free: 50.16 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.674/3.09, allocations: 0 / 0.9134 GB, free: 50.16 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1)