Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.228/2.228, allocations: 251.3 MB / 266.2 MB, free: 11.54 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001319/0.001319, allocations: 181.7 kB / 325.8 MB, free: 2.805 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.66/2.66, allocations: 205.4 MB / 0.5767 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009625/0.0009625, allocations: 97.5 kB / 0.6812 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004679/0.0004681, allocations: 11.47 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2049/0.2053, allocations: 106.3 MB / 0.899 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.002653/0.2081, allocations: 1.215 MB / 0.9002 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002393/0.2105, allocations: 0.7531 MB / 0.9009 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.235e-05/0.2106, allocations: 0 / 0.9009 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.788e-05/0.2107, allocations: 7.922 kB / 0.901 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001478/0.2109, allocations: 11.86 kB / 0.901 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007866/0.2117, allocations: 103.8 kB / 0.9011 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001656/0.2119, allocations: 71.77 kB / 0.9011 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.212, allocations: 15.98 kB / 0.9011 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001463/0.2122, allocations: 35.83 kB / 0.9012 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001063/0.2123, allocations: 35.84 kB / 0.9012 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.611e-05/0.2123, allocations: 4 kB / 0.9012 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002988/0.2127, allocations: 79.91 kB / 0.9013 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.404e-05/0.2127, allocations: 15.92 kB / 0.9013 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.961e-05/0.2128, allocations: 41.7 kB / 0.9014 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002657/0.2131, allocations: 103.8 kB / 0.9015 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.2131, allocations: 7.938 kB / 0.9015 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.655e-06/0.2131, allocations: 0 / 0.9015 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.2131, allocations: 0 / 0.9015 GB, free: 62.93 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.001048/0.2142, allocations: 448.5 kB / 0.9019 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.234e-05/0.2143, allocations: 12.03 kB / 0.9019 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.113e-05/0.2144, allocations: 8.844 kB / 0.9019 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.2145, allocations: 180.2 kB / 0.9021 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.067e-05/0.2146, allocations: 8.312 kB / 0.9021 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.188e-05/0.2146, allocations: 4.375 kB / 0.9021 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003347/0.215, allocations: 81.89 kB / 0.9022 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.215, allocations: 0 / 0.9022 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.404e-05/0.2151, allocations: 0 / 0.9022 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.2151, allocations: 8 kB / 0.9022 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003125/0.2154, allocations: 43.97 kB / 0.9022 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008616/0.2163, allocations: 316.8 kB / 0.9025 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002847/0.2166, allocations: 74.58 kB / 0.9026 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001763/0.2168, allocations: 32.84 kB / 0.9026 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.27e-05/0.2169, allocations: 0 / 0.9026 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003763/0.2173, allocations: 99.27 kB / 0.9027 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 2.745e-06/0.2173, allocations: 4 kB / 0.9027 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0008138/0.2181, allocations: 157.5 kB / 0.9029 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/0.2182, allocations: 59.78 kB / 0.9029 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.2184, allocations: 124.2 kB / 0.903 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.775e-05/0.2184, allocations: 33.7 kB / 0.9031 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.364e-05/0.2185, allocations: 88.31 kB / 0.9032 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.624e-05/0.2186, allocations: 39.72 kB / 0.9032 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.486e-05/0.2186, allocations: 8 kB / 0.9032 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.087e-05/0.2187, allocations: 322.8 kB / 0.9035 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001676/0.2189, allocations: 23.98 kB / 0.9035 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002083/0.2191, allocations: 73.14 kB / 0.9036 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002132/0.2193, allocations: 31.98 kB / 0.9036 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.83e-06/0.2194, allocations: 0 / 0.9036 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005688/0.22, allocations: 141.5 kB / 0.9038 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/0.22, allocations: 4 kB / 0.9038 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.22, allocations: 4 kB / 0.9038 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/0.2201, allocations: 0 / 0.9038 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000255/0.2203, allocations: 19.92 kB / 0.9038 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/0.2204, allocations: 4 kB / 0.9038 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002521/0.2206, allocations: 15.89 kB / 0.9038 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.932e-05/0.2207, allocations: 8 kB / 0.9038 GB, free: 60.26 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 0.0001456/0.2209, allocations: 129.8 kB / 0.904 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.672e-05/0.2209, allocations: 3.906 kB / 0.904 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006629/0.2216, allocations: 153.9 kB / 0.9041 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.2216, allocations: 4.094 kB / 0.9041 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/0.2217, allocations: 7.969 kB / 0.9041 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.772e-06/0.2217, allocations: 0 / 0.9041 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001133/0.2228, allocations: 438.4 kB / 0.9045 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.2229, allocations: 0 / 0.9045 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001742/0.2231, allocations: 11.98 kB / 0.9045 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/0.2231, allocations: 0 / 0.9045 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.503e-05/0.2231, allocations: 8 kB / 0.9046 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.035e-06/0.2232, allocations: 7.984 kB / 0.9046 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.2232, allocations: 3.938 kB / 0.9046 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006071/0.2238, allocations: 235.2 kB / 0.9048 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.537e-05/0.2239, allocations: 88.95 kB / 0.9049 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.659e-05/0.2239, allocations: 0 / 0.9049 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002935/0.2243, allocations: 15.98 kB / 0.9049 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.892e-05/0.2244, allocations: 15.92 kB / 0.9049 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.508e-05/0.2244, allocations: 4 kB / 0.9049 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 9.336e-05/0.2245, allocations: 97.89 kB / 0.905 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8.52e-07/0.2246, allocations: 0 / 0.905 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006768/0.2253, allocations: 47.98 kB / 0.905 GB, free: 58.91 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.0005778/0.2259, allocations: 156.7 kB / 0.9052 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005769/0.2265, allocations: 95.83 kB / 0.9053 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.2265, allocations: 0 / 0.9053 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002461/0.2268, allocations: 44.23 kB / 0.9053 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006386/0.2274, allocations: 19.92 kB / 0.9053 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008431/0.2283, allocations: 231 kB / 0.9056 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002007/0.2285, allocations: 0.6965 MB / 0.9062 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000121/0.2287, allocations: 8.422 kB / 0.9063 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.52e-05/0.2288, allocations: 11.44 kB / 0.9063 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of SimCode: time 1.823e-06/0.2288, allocations: 4 kB / 0.9063 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of Templates: time 0.00874/0.2375, allocations: 1.622 MB / 0.9079 GB, free: 55.99 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile (rm -f Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & ./Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1)