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 1.443/1.443, allocations: 251.9 MB / 266.9 MB, free: 11.05 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.001148/0.001148, allocations: 189.9 kB / 326.5 MB, free: 2.211 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.849/1.849, allocations: 205.4 MB / 0.5775 GB, free: 20.23 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.0008111/0.0008111, allocations: 97.97 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003382/0.0003384, allocations: 12.69 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2212/0.2215, allocations: 106.3 MB / 0.9001 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.001677/0.2233, allocations: 1.199 MB / 0.9013 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001071/0.2244, allocations: 0.7575 MB / 0.9021 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.437e-05/0.2244, allocations: 7.938 kB / 0.9021 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.894e-05/0.2245, allocations: 7.922 kB / 0.9021 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001023/0.2246, allocations: 15.91 kB / 0.9021 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004455/0.225, allocations: 87.77 kB / 0.9022 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.775e-05/0.2251, allocations: 59.86 kB / 0.9022 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.18e-05/0.2252, allocations: 7.984 kB / 0.9022 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.753e-05/0.2253, allocations: 35.92 kB / 0.9023 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.941e-05/0.2254, allocations: 39.77 kB / 0.9023 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.2254, allocations: 4 kB / 0.9023 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001331/0.2256, allocations: 63.92 kB / 0.9024 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.252e-05/0.2256, allocations: 19.92 kB / 0.9024 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.495e-05/0.2256, allocations: 33.7 kB / 0.9024 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001614/0.2258, allocations: 95.81 kB / 0.9025 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.2258, allocations: 0 / 0.9025 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2258, allocations: 0 / 0.9025 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.541e-06/0.2258, allocations: 4 kB / 0.9025 GB, free: 61.34 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.0006866/0.2265, allocations: 454.7 kB / 0.903 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/0.2266, allocations: 15.97 kB / 0.903 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.577e-05/0.2266, allocations: 38.55 kB / 0.903 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.892e-05/0.2267, allocations: 11.86 kB / 0.903 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.2268, allocations: 167 kB / 0.9032 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.2268, allocations: 12 kB / 0.9032 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.991e-05/0.2269, allocations: 7.984 kB / 0.9032 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.227, allocations: 73.59 kB / 0.9033 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.2271, allocations: 0 / 0.9033 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.2271, allocations: 0 / 0.9033 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.2271, allocations: 8 kB / 0.9033 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001286/0.2272, allocations: 43.97 kB / 0.9033 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004935/0.2277, allocations: 324.7 kB / 0.9036 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001293/0.2279, allocations: 70.56 kB / 0.9037 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.2279, allocations: 8.141 kB / 0.9037 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002009/0.2281, allocations: 95.36 kB / 0.9038 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 1.543e-06/0.2281, allocations: 3.938 kB / 0.9038 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0003549/0.2285, allocations: 161.4 kB / 0.9039 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.872e-05/0.2285, allocations: 59.39 kB / 0.904 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.509e-05/0.2286, allocations: 125.1 kB / 0.9041 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.2287, allocations: 33.7 kB / 0.9042 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.318e-05/0.2287, allocations: 92.36 kB / 0.9042 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.908e-05/0.2288, allocations: 23.66 kB / 0.9043 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.484e-06/0.2288, allocations: 0 / 0.9043 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.927e-05/0.2289, allocations: 322.8 kB / 0.9046 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.502e-05/0.2289, allocations: 31.92 kB / 0.9046 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.633e-05/0.229, allocations: 69.12 kB / 0.9047 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.557e-05/0.2291, allocations: 35.98 kB / 0.9047 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.2291, allocations: 0 / 0.9047 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001983/0.2293, allocations: 129.4 kB / 0.9048 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.2294, allocations: 8 kB / 0.9048 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.2294, allocations: 0 / 0.9048 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.2294, allocations: 4.094 kB / 0.9048 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.2295, allocations: 19.92 kB / 0.9049 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.2295, allocations: 3.953 kB / 0.9049 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.2296, allocations: 32 kB / 0.9049 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/0.2296, allocations: 4 kB / 0.9049 GB, free: 58.65 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.586e-05/0.2297, allocations: 125.7 kB / 0.905 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.558e-05/0.2298, allocations: 7.906 kB / 0.905 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002878/0.2301, allocations: 153.9 kB / 0.9052 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.2301, allocations: 0 / 0.9052 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.227e-06/0.2301, allocations: 0 / 0.9052 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.2301, allocations: 7.953 kB / 0.9052 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004401/0.2305, allocations: 430.3 kB / 0.9056 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.2305, allocations: 8 kB / 0.9056 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.237e-05/0.2306, allocations: 11.98 kB / 0.9056 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.2306, allocations: 0 / 0.9056 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.2306, allocations: 3.953 kB / 0.9056 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.2306, allocations: 0 / 0.9056 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2307, allocations: 8.359 kB / 0.9056 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002246/0.2309, allocations: 235.3 kB / 0.9058 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.737e-05/0.2309, allocations: 81.02 kB / 0.9059 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.481e-05/0.231, allocations: 7.984 kB / 0.9059 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.2311, allocations: 19.89 kB / 0.9059 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.434e-05/0.2311, allocations: 7.984 kB / 0.906 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/0.2311, allocations: 7.984 kB / 0.906 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.737e-05/0.2312, allocations: 95.27 kB / 0.9061 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2312, allocations: 0 / 0.9061 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002946/0.2315, allocations: 47.94 kB / 0.9061 GB, free: 57.31 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000612/0.2321, allocations: 0.825 MB / 0.9069 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001951/0.2323, allocations: 83.89 kB / 0.907 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2323, allocations: 0 / 0.907 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.727e-05/0.2324, allocations: 47.92 kB / 0.907 GB, free: 56.35 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002021/0.2326, allocations: 30 kB / 0.9071 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000734/0.2334, allocations: 1.213 MB / 0.9082 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001147/0.2335, allocations: 0.7004 MB / 0.9089 GB, free: 54.31 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.831e-05/0.2336, allocations: 12.41 kB / 0.9089 GB, free: 54.29 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.178e-05/0.2336, allocations: 27.38 kB / 0.909 GB, free: 54.27 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.2336, allocations: 0 / 0.909 GB, free: 54.27 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01348/0.2471, allocations: 2.716 MB / 0.9116 GB, free: 51.72 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001644/0.2473, allocations: 243 kB / 0.9119 GB, free: 51.48 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.543/1.79, allocations: 0 / 0.9119 GB, free: 51.48 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)