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.197/1.197, allocations: 251.5 MB / 266.7 MB, free: 10.98 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.0008052/0.0008052, allocations: 187.4 kB / 325.9 MB, free: 2.664 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.206/1.206, allocations: 205 MB / 0.576 GB, free: 20.93 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.0006471/0.0006474, allocations: 90.42 kB / 0.6797 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002557/0.0002556, allocations: 11.5 kB / 0.7933 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1275, allocations: 105.4 MB / 0.8962 GB, free: 68.05 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.001111/0.1286, allocations: 1.247 MB / 0.8974 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008959/0.1295, allocations: 0.8194 MB / 0.8982 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.047e-05/0.1296, allocations: 0 / 0.8982 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.527e-05/0.1296, allocations: 3.938 kB / 0.8982 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.579e-05/0.1297, allocations: 11.94 kB / 0.8982 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003182/0.13, allocations: 107.7 kB / 0.8983 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.094e-05/0.1301, allocations: 71.78 kB / 0.8984 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.395e-05/0.1302, allocations: 19.98 kB / 0.8984 GB, free: 65.75 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.671e-05/0.1302, allocations: 39.78 kB / 0.8985 GB, free: 65.71 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.552e-05/0.1303, allocations: 27.91 kB / 0.8985 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.1303, allocations: 11.92 kB / 0.8985 GB, free: 65.67 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001244/0.1304, allocations: 87.86 kB / 0.8986 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.747e-05/0.1305, allocations: 15.97 kB / 0.8986 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.099e-05/0.1305, allocations: 31.8 kB / 0.8986 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001366/0.1306, allocations: 135.7 kB / 0.8987 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.1306, allocations: 0 / 0.8987 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.233e-06/0.1307, allocations: 4 kB / 0.8988 GB, free: 65.4 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.417e-06/0.1307, allocations: 0 / 0.8988 GB, free: 65.4 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.0004465/0.1311, allocations: 450.7 kB / 0.8992 GB, free: 64.9 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 2.779e-05/0.1311, allocations: 8.031 kB / 0.8992 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.607e-05/0.1312, allocations: 42.73 kB / 0.8992 GB, free: 64.84 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.625e-05/0.1312, allocations: 8.844 kB / 0.8992 GB, free: 64.84 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.496e-05/0.1313, allocations: 186.5 kB / 0.8994 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.1313, allocations: 4.375 kB / 0.8994 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.19e-05/0.1313, allocations: 4.375 kB / 0.8994 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/0.1315, allocations: 81.77 kB / 0.8995 GB, free: 64.52 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.781e-06/0.1315, allocations: 0 / 0.8995 GB, free: 64.52 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.1315, allocations: 0 / 0.8995 GB, free: 64.52 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.1315, allocations: 3.938 kB / 0.8995 GB, free: 64.52 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001038/0.1316, allocations: 51.97 kB / 0.8996 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003467/0.132, allocations: 320.7 kB / 0.8999 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001079/0.1321, allocations: 62.55 kB / 0.8999 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.856e-05/0.1321, allocations: 40.84 kB / 0.9 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.1322, allocations: 3.984 kB / 0.9 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001461/0.1323, allocations: 99.33 kB / 0.9001 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 1.353e-06/0.1323, allocations: 0 / 0.9001 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0002809/0.1326, allocations: 165.5 kB / 0.9002 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.917e-05/0.1326, allocations: 51.41 kB / 0.9003 GB, free: 63.65 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.744e-05/0.1327, allocations: 133.7 kB / 0.9004 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.047e-06/0.1327, allocations: 25.7 kB / 0.9004 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.484e-05/0.1327, allocations: 96.36 kB / 0.9005 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.668e-05/0.1328, allocations: 27.8 kB / 0.9005 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.319e-05/0.1328, allocations: 21.7 kB / 0.9006 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.4e-05/0.1328, allocations: 326.8 kB / 0.9009 GB, free: 63 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.429e-05/0.1329, allocations: 31.97 kB / 0.9009 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.931e-05/0.133, allocations: 61.14 kB / 0.901 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001235/0.1331, allocations: 109 kB / 0.9011 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1331, allocations: 0 / 0.9011 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001772/0.1333, allocations: 141.5 kB / 0.9012 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.917e-06/0.1333, allocations: 4 kB / 0.9012 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.1333, allocations: 0 / 0.9012 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.756e-06/0.1333, allocations: 8 kB / 0.9012 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.664e-05/0.1334, allocations: 15.98 kB / 0.9012 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.1334, allocations: 3.938 kB / 0.9012 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.386e-05/0.1335, allocations: 15.98 kB / 0.9012 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.1335, allocations: 12.09 kB / 0.9013 GB, free: 62.56 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 (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 5.171e-05/0.1336, allocations: 119.7 kB / 0.9014 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.422e-05/0.1336, allocations: 7.906 kB / 0.9014 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002321/0.1339, allocations: 153.9 kB / 0.9015 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.1339, allocations: 4 kB / 0.9015 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.1339, allocations: 0 / 0.9015 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1339, allocations: 4 kB / 0.9015 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003664/0.1343, allocations: 438.2 kB / 0.9019 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.1343, allocations: 384 / 0.9019 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.656e-05/0.1343, allocations: 11.94 kB / 0.902 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.1343, allocations: 11.98 kB / 0.902 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.1344, allocations: 0 / 0.902 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1344, allocations: 7.875 kB / 0.902 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1344, allocations: 0 / 0.902 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001897/0.1346, allocations: 223.6 kB / 0.9022 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.76e-05/0.1346, allocations: 89.02 kB / 0.9023 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.84e-05/0.1346, allocations: 0 / 0.9023 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.1347, allocations: 20.02 kB / 0.9023 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.279e-05/0.1348, allocations: 19.97 kB / 0.9023 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/0.1348, allocations: 3.938 kB / 0.9023 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.069e-05/0.1348, allocations: 106.5 kB / 0.9024 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1348, allocations: 0 / 0.9024 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002412/0.1351, allocations: 43.98 kB / 0.9025 GB, free: 61.22 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.0004664/0.1355, allocations: 0.8169 MB / 0.9033 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001748/0.1357, allocations: 95.77 kB / 0.9034 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.1357, allocations: 0 / 0.9034 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.013e-05/0.1358, allocations: 60 kB / 0.9034 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002273/0.136, allocations: 15.92 kB / 0.9034 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/0.1371, allocations: 1.612 MB / 0.905 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.771e-05/0.1372, allocations: 0.6965 MB / 0.9057 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.916e-05/0.1372, allocations: 12.42 kB / 0.9057 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.05e-05/0.1373, allocations: 27.42 kB / 0.9057 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of SimCode: time 2.1e-07/0.1373, allocations: 0 / 0.9057 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.606/2.743, allocations: 2.736 MB / 0.9084 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001454/2.743, allocations: 262.3 kB / 0.9086 GB, free: 54.82 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.321/6.064, allocations: 1.266 kB / 0.9086 GB, free: 54.82 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)