Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.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.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.6/2.6, allocations: 251.3 MB / 266.2 MB, free: 11.52 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.001337/0.001337, allocations: 182.7 kB / 325.8 MB, free: 2.801 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.507/2.507, allocations: 205.4 MB / 0.5767 GB, free: 20.77 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.0008921/0.0008917, allocations: 99.28 kB / 0.6813 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004617/0.000462, allocations: 12.78 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.211/0.2114, allocations: 106.2 MB / 0.899 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.00186/0.2134, allocations: 1.242 MB / 0.9002 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001593/0.215, allocations: 0.7686 MB / 0.901 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.548e-05/0.2151, allocations: 4 kB / 0.901 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.121e-05/0.2151, allocations: 3.938 kB / 0.901 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001142/0.2153, allocations: 11.86 kB / 0.901 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005385/0.2158, allocations: 103.8 kB / 0.9011 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000132/0.216, allocations: 95.62 kB / 0.9012 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.615e-05/0.2161, allocations: 11.98 kB / 0.9012 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.2162, allocations: 35.86 kB / 0.9012 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.92e-05/0.2163, allocations: 43.81 kB / 0.9013 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.243e-05/0.2163, allocations: 4 kB / 0.9013 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002153/0.2165, allocations: 87.84 kB / 0.9014 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.471e-05/0.2166, allocations: 15.98 kB / 0.9014 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.847e-05/0.2166, allocations: 41.64 kB / 0.9014 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001944/0.2169, allocations: 115.8 kB / 0.9015 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.2169, allocations: 0 / 0.9015 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.743e-06/0.2169, allocations: 0 / 0.9015 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.2169, allocations: 0 / 0.9015 GB, free: 62.86 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000843/0.2177, allocations: 0.4965 MB / 0.902 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.2178, allocations: 8.031 kB / 0.902 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.715e-05/0.2179, allocations: 12.75 kB / 0.902 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001801/0.218, allocations: 177.8 kB / 0.9022 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.534e-05/0.2181, allocations: 8.375 kB / 0.9022 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.67e-05/0.2181, allocations: 4.375 kB / 0.9022 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000253/0.2184, allocations: 85.94 kB / 0.9023 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.2184, allocations: 0 / 0.9023 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.842e-05/0.2184, allocations: 3.938 kB / 0.9023 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.2185, allocations: 7.984 kB / 0.9023 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002281/0.2187, allocations: 55.91 kB / 0.9024 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006544/0.2194, allocations: 340.6 kB / 0.9027 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002845/0.2197, allocations: 78.67 kB / 0.9028 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001405/0.2198, allocations: 48.86 kB / 0.9028 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.936e-05/0.2199, allocations: 4 kB / 0.9028 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002809/0.2202, allocations: 99.36 kB / 0.9029 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 2.855e-06/0.2202, allocations: 0 / 0.9029 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.000596/0.2208, allocations: 177.7 kB / 0.9031 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.2208, allocations: 59.39 kB / 0.9031 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.221, allocations: 151.5 kB / 0.9033 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.221, allocations: 29.7 kB / 0.9033 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.754e-05/0.2211, allocations: 100.1 kB / 0.9034 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.331e-05/0.2211, allocations: 27.64 kB / 0.9034 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.033e-05/0.2211, allocations: 4 kB / 0.9034 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.353e-05/0.2212, allocations: 326.8 kB / 0.9038 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.2213, allocations: 27.98 kB / 0.9038 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001421/0.2215, allocations: 73.12 kB / 0.9039 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001383/0.2216, allocations: 35.98 kB / 0.9039 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.2216, allocations: 0 / 0.9039 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003851/0.222, allocations: 149.4 kB / 0.904 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.2221, allocations: 4 kB / 0.904 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.2221, allocations: 0 / 0.904 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.2221, allocations: 4 kB / 0.904 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001764/0.2223, allocations: 19.92 kB / 0.9041 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/0.2223, allocations: 4 kB / 0.9041 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001667/0.2225, allocations: 11.98 kB / 0.9041 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.035e-05/0.2225, allocations: 8 kB / 0.9041 GB, free: 60.01 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,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001119/0.2227, allocations: 139.7 kB / 0.9042 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.7e-05/0.2227, allocations: 7.906 kB / 0.9042 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005372/0.2232, allocations: 178.2 kB / 0.9044 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.2233, allocations: 0 / 0.9044 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.2233, allocations: 3.938 kB / 0.9044 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.2233, allocations: 4.141 kB / 0.9044 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008309/0.2241, allocations: 472.1 kB / 0.9048 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.2242, allocations: 0 / 0.9048 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001455/0.2243, allocations: 15.98 kB / 0.9049 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.2243, allocations: 0 / 0.9049 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/0.2244, allocations: 4 kB / 0.9049 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.2244, allocations: 4 kB / 0.9049 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.2244, allocations: 11.88 kB / 0.9049 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004451/0.2248, allocations: 255.2 kB / 0.9051 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.341e-05/0.2249, allocations: 92.94 kB / 0.9052 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.456e-05/0.2249, allocations: 0 / 0.9052 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000195/0.2251, allocations: 12 kB / 0.9052 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.948e-05/0.2252, allocations: 23.91 kB / 0.9052 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.539e-05/0.2253, allocations: 4 kB / 0.9052 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.519e-05/0.2253, allocations: 103.8 kB / 0.9053 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.91e-07/0.2254, allocations: 4 kB / 0.9054 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004119/0.2258, allocations: 40 kB / 0.9054 GB, free: 58.56 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 (booleanPulse.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,booleanPulse.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * 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.0004313/0.2262, allocations: 164.1 kB / 0.9055 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003851/0.2266, allocations: 91.89 kB / 0.9056 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.2266, allocations: 0 / 0.9056 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001854/0.2268, allocations: 64.09 kB / 0.9057 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004299/0.2273, allocations: 29.75 kB / 0.9057 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006152/0.2279, allocations: 263 kB / 0.906 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001514/0.2281, allocations: 0.7081 MB / 0.9067 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 8.169e-05/0.2282, allocations: 8.547 kB / 0.9067 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.807e-05/0.2282, allocations: 15.44 kB / 0.9067 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of SimCode: time 1.212e-06/0.2283, allocations: 4 kB / 0.9067 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of Templates: time 0.006422/0.2347, allocations: 1.817 MB / 0.9085 GB, free: 55.37 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.makefile (rm -f Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; mkfifo Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe >> ../files/Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.sim & ./Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1)