Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.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.Love1998Light2,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2",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.464/1.464, allocations: 251.9 MB / 266.9 MB, free: 11.01 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.001112/0.001112, allocations: 182 kB / 326.5 MB, free: 2.238 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.85/1.85, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.0008293/0.0008296, allocations: 100.4 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003276/0.0003277, allocations: 10.81 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2273/0.2276, allocations: 106.3 MB / 0.9001 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.001572/0.2293, allocations: 1.203 MB / 0.9013 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00103/0.2303, allocations: 0.7576 MB / 0.9021 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.897e-05/0.2304, allocations: 3.938 kB / 0.9021 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.513e-05/0.2304, allocations: 0 / 0.9021 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.361e-05/0.2305, allocations: 19.89 kB / 0.9021 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000391/0.2309, allocations: 87.77 kB / 0.9022 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.903e-05/0.231, allocations: 59.86 kB / 0.9022 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.954e-05/0.2311, allocations: 8 kB / 0.9022 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.536e-05/0.2312, allocations: 43.83 kB / 0.9023 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.048e-05/0.2312, allocations: 31.84 kB / 0.9023 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.439e-05/0.2313, allocations: 4 kB / 0.9023 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001329/0.2314, allocations: 67.92 kB / 0.9024 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.019e-05/0.2314, allocations: 15.92 kB / 0.9024 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.532e-05/0.2315, allocations: 37.64 kB / 0.9024 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001421/0.2316, allocations: 95.81 kB / 0.9025 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.2316, allocations: 0 / 0.9025 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.422e-06/0.2316, allocations: 0 / 0.9025 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.2316, allocations: 8 kB / 0.9025 GB, free: 61.38 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.0006231/0.2323, allocations: 454.6 kB / 0.903 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.2323, allocations: 12.03 kB / 0.903 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.134e-05/0.2324, allocations: 34.56 kB / 0.903 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.394e-05/0.2324, allocations: 11.86 kB / 0.903 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.2325, allocations: 175 kB / 0.9032 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.2326, allocations: 8 kB / 0.9032 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.593e-05/0.2326, allocations: 4 kB / 0.9032 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.2327, allocations: 77.58 kB / 0.9033 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.2328, allocations: 0 / 0.9033 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.2328, allocations: 0 / 0.9033 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.2328, allocations: 4 kB / 0.9033 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00012/0.2329, allocations: 43.97 kB / 0.9033 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004512/0.2334, allocations: 324.7 kB / 0.9036 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000129/0.2335, allocations: 66.58 kB / 0.9037 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.2335, allocations: 8 kB / 0.9037 GB, free: 60 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001899/0.2337, allocations: 91.36 kB / 0.9038 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 1.714e-06/0.2338, allocations: 0 / 0.9038 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0003555/0.2341, allocations: 165.7 kB / 0.9039 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/0.2342, allocations: 59.41 kB / 0.904 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.829e-05/0.2342, allocations: 129 kB / 0.9041 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.2343, allocations: 29.8 kB / 0.9041 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.482e-05/0.2343, allocations: 92.31 kB / 0.9042 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.437e-05/0.2343, allocations: 31.78 kB / 0.9043 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.712e-06/0.2343, allocations: 0 / 0.9043 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.831e-05/0.2344, allocations: 318.8 kB / 0.9046 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.877e-05/0.2345, allocations: 39.91 kB / 0.9046 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.747e-05/0.2346, allocations: 61.14 kB / 0.9047 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.518e-05/0.2346, allocations: 39.98 kB / 0.9047 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2346, allocations: 0 / 0.9047 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001972/0.2349, allocations: 129.4 kB / 0.9048 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.2349, allocations: 8 kB / 0.9048 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.2349, allocations: 0 / 0.9048 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.2349, allocations: 4 kB / 0.9048 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.235, allocations: 19.92 kB / 0.9049 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.235, allocations: 12.06 kB / 0.9049 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.2351, allocations: 27.89 kB / 0.9049 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.2352, allocations: 7.938 kB / 0.9049 GB, free: 58.68 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 7.476e-05/0.2352, allocations: 117.8 kB / 0.905 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.46e-05/0.2353, allocations: 7.906 kB / 0.905 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002738/0.2355, allocations: 158 kB / 0.9052 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.2356, allocations: 0 / 0.9052 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.2356, allocations: 0 / 0.9052 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.2356, allocations: 11.94 kB / 0.9052 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004311/0.236, allocations: 430.3 kB / 0.9056 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.236, allocations: 4 kB / 0.9056 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.185e-05/0.2361, allocations: 11.98 kB / 0.9056 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.2361, allocations: 0 / 0.9056 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.2361, allocations: 3.953 kB / 0.9056 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.2361, allocations: 0 / 0.9056 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2361, allocations: 4 kB / 0.9056 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002159/0.2364, allocations: 239.3 kB / 0.9058 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.141e-05/0.2364, allocations: 81.02 kB / 0.9059 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.24e-05/0.2364, allocations: 4 kB / 0.9059 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.2365, allocations: 19.94 kB / 0.9059 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.986e-05/0.2366, allocations: 7.984 kB / 0.906 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.501e-05/0.2366, allocations: 4 kB / 0.906 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.678e-05/0.2366, allocations: 95.27 kB / 0.906 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2366, allocations: 4 kB / 0.9061 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002946/0.2369, allocations: 47.92 kB / 0.9061 GB, free: 57.35 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.0006007/0.2376, allocations: 0.8315 MB / 0.9069 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001994/0.2378, allocations: 79.91 kB / 0.907 GB, free: 56.44 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2378, allocations: 0 / 0.907 GB, free: 56.44 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.006e-05/0.2379, allocations: 52.16 kB / 0.907 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002248/0.2381, allocations: 26.39 kB / 0.9071 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006985/0.2388, allocations: 1.217 MB / 0.9082 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001088/0.2389, allocations: 0.6965 MB / 0.9089 GB, free: 54.35 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.667e-05/0.239, allocations: 8.609 kB / 0.9089 GB, free: 54.34 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.971e-05/0.239, allocations: 31.36 kB / 0.909 GB, free: 54.31 MB / 0.6042 GB Notification: Performance of SimCode: time 2.41e-07/0.2391, allocations: 4 kB / 0.909 GB, free: 54.31 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01349/0.2525, allocations: 2.705 MB / 0.9116 GB, free: 51.77 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002716/0.2529, allocations: 244.4 kB / 0.9118 GB, free: 51.53 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.552/1.805, allocations: 4 kB / 0.9118 GB, free: 51.52 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1)