Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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.Hunt1979Light,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",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.168/1.168, allocations: 251.5 MB / 266.7 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.0007942/0.0007942, allocations: 175.1 kB / 325.8 MB, free: 2.711 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.219/1.219, allocations: 205 MB / 0.576 GB, free: 20.98 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.0006446/0.0006446, allocations: 101.3 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002582/0.0002582, allocations: 8.719 kB / 0.7933 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1388, allocations: 105.4 MB / 0.8962 GB, free: 68.09 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.001149/0.14, allocations: 1.258 MB / 0.8974 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009064/0.1409, allocations: 0.8078 MB / 0.8982 GB, free: 66 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.536e-05/0.141, allocations: 4 kB / 0.8982 GB, free: 66 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.604e-05/0.141, allocations: 3.938 kB / 0.8982 GB, free: 66 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.257e-05/0.1411, allocations: 15.86 kB / 0.8982 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003484/0.1414, allocations: 107.8 kB / 0.8983 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.557e-05/0.1415, allocations: 91.69 kB / 0.8984 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.345e-05/0.1416, allocations: 4 kB / 0.8984 GB, free: 65.78 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.171e-05/0.1417, allocations: 35.86 kB / 0.8985 GB, free: 65.75 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.387e-05/0.1417, allocations: 43.75 kB / 0.8985 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.1417, allocations: 4 kB / 0.8985 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001272/0.1419, allocations: 87.91 kB / 0.8986 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.839e-05/0.1419, allocations: 19.92 kB / 0.8986 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.523e-05/0.1419, allocations: 31.86 kB / 0.8986 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001602/0.1421, allocations: 151.5 kB / 0.8988 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.1421, allocations: 0 / 0.8988 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1421, allocations: 0 / 0.8988 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.1421, allocations: 0 / 0.8988 GB, free: 65.41 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.0004969/0.1426, allocations: 458.7 kB / 0.8992 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.006e-05/0.1427, allocations: 12.03 kB / 0.8992 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.66e-05/0.1427, allocations: 34.73 kB / 0.8993 GB, free: 64.85 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.063e-05/0.1427, allocations: 8.844 kB / 0.8993 GB, free: 64.84 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.093e-05/0.1428, allocations: 180.2 kB / 0.8994 GB, free: 64.63 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.566e-05/0.1429, allocations: 42.23 kB / 0.8995 GB, free: 64.58 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.418e-05/0.1429, allocations: 4.375 kB / 0.8995 GB, free: 64.58 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001601/0.1431, allocations: 93.45 kB / 0.8996 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-06/0.1431, allocations: 0 / 0.8996 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.1431, allocations: 0 / 0.8996 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.516e-06/0.1431, allocations: 0 / 0.8996 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001562/0.1433, allocations: 55.95 kB / 0.8996 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003668/0.1436, allocations: 324.8 kB / 0.8999 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001628/0.1438, allocations: 74.47 kB / 0.9 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.623e-05/0.1439, allocations: 44.84 kB / 0.9001 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.1439, allocations: 0 / 0.9001 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001812/0.1441, allocations: 95.34 kB / 0.9001 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 1.754e-06/0.1441, allocations: 0 / 0.9001 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0003676/0.1445, allocations: 173.5 kB / 0.9003 GB, free: 63.65 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.484e-05/0.1445, allocations: 67.27 kB / 0.9004 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.4e-05/0.1446, allocations: 131.5 kB / 0.9005 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.073e-05/0.1446, allocations: 29.7 kB / 0.9005 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.622e-05/0.1447, allocations: 100.5 kB / 0.9006 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.636e-05/0.1447, allocations: 23.7 kB / 0.9007 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.286e-05/0.1447, allocations: 17.72 kB / 0.9007 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.449e-05/0.1447, allocations: 330.8 kB / 0.901 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.685e-05/0.1448, allocations: 27.98 kB / 0.901 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.193e-05/0.1449, allocations: 75.5 kB / 0.9011 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001712/0.1451, allocations: 113 kB / 0.9012 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1451, allocations: 0 / 0.9012 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002276/0.1454, allocations: 137.8 kB / 0.9013 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.1454, allocations: 9.25 kB / 0.9013 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1454, allocations: 0 / 0.9013 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.1454, allocations: 4 kB / 0.9013 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.554e-05/0.1455, allocations: 27.86 kB / 0.9014 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.1455, allocations: 3.984 kB / 0.9014 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.374e-05/0.1456, allocations: 23.97 kB / 0.9014 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.1456, allocations: 7.984 kB / 0.9014 GB, free: 62.46 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.463e-05/0.1457, allocations: 129.7 kB / 0.9015 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.594e-05/0.1457, allocations: 7.906 kB / 0.9015 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.355e-05/0.1457, allocations: 8.812 kB / 0.9015 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1457, allocations: 3.984 kB / 0.9015 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.1457, allocations: 8 kB / 0.9015 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1458, allocations: 3.984 kB / 0.9015 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004352/0.1462, allocations: 430.3 kB / 0.902 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1462, allocations: 0 / 0.902 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.319e-05/0.1463, allocations: 15.98 kB / 0.902 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.1463, allocations: 4 kB / 0.902 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.1463, allocations: 4 kB / 0.902 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1463, allocations: 3.938 kB / 0.902 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.1463, allocations: 3.984 kB / 0.902 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002417/0.1466, allocations: 231.3 kB / 0.9022 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.7e-05/0.1466, allocations: 81.02 kB / 0.9023 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.958e-05/0.1466, allocations: 8 kB / 0.9023 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.1467, allocations: 15.92 kB / 0.9023 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.854e-05/0.1468, allocations: 19.84 kB / 0.9023 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.1468, allocations: 8 kB / 0.9023 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.43e-05/0.1468, allocations: 97.23 kB / 0.9024 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1468, allocations: 4 kB / 0.9024 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002399/0.1471, allocations: 47.92 kB / 0.9025 GB, free: 61.25 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 (10): * Single equations (assignments): 7 * 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.0005261/0.1476, allocations: 0.8156 MB / 0.9033 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002196/0.1478, allocations: 91.88 kB / 0.9034 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1479, allocations: 0 / 0.9034 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001066/0.148, allocations: 64.14 kB / 0.9034 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002315/0.1482, allocations: 15.92 kB / 0.9034 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.1494, allocations: 1.636 MB / 0.905 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.363e-05/0.1495, allocations: 0.7004 MB / 0.9057 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.848e-05/0.1496, allocations: 12.83 kB / 0.9057 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.04e-05/0.1496, allocations: 27.42 kB / 0.9058 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of SimCode: time 2.11e-07/0.1496, allocations: 0 / 0.9058 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.43/4.579, allocations: 2.73 MB / 0.9084 GB, free: 55.17 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001556/4.579, allocations: 269.4 kB / 0.9087 GB, free: 54.81 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.322/7.901, allocations: 0 / 0.9087 GB, free: 54.81 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1)