Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008094/0.0008094, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009115/0.0009114, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.33/1.33, allocations: 205.4 MB / 222.1 MB, free: 5.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.628/1.628, allocations: 292.7 MB / 0.5499 GB, free: 14.54 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004883/0.0004885, allocations: 12.12 kB / 0.6737 GB, free: 25.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2178, allocations: 116.3 MB / 0.7873 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.001631/0.2195, allocations: 1.243 MB / 0.7885 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001257/0.2207, allocations: 0.7533 MB / 0.7892 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.366e-05/0.2208, allocations: 0 / 0.7892 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.864e-05/0.2209, allocations: 3.938 kB / 0.7892 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001179/0.221, allocations: 19.84 kB / 0.7892 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005376/0.2215, allocations: 99.77 kB / 0.7893 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001383/0.2217, allocations: 95.58 kB / 0.7894 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.456e-05/0.2218, allocations: 11.98 kB / 0.7894 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.2219, allocations: 43.84 kB / 0.7895 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.489e-05/0.222, allocations: 35.83 kB / 0.7895 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.222, allocations: 4 kB / 0.7895 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001855/0.2222, allocations: 87.84 kB / 0.7896 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.797e-05/0.2223, allocations: 19.91 kB / 0.7896 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.606e-05/0.2223, allocations: 41.64 kB / 0.7897 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002054/0.2225, allocations: 116 kB / 0.7898 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.2225, allocations: 4 kB / 0.7898 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2225, allocations: 0 / 0.7898 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.2225, allocations: 0 / 0.7898 GB, free: 9.328 MB / 0.6075 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.0007995/0.2234, allocations: 492.1 kB / 0.7903 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.2234, allocations: 8.031 kB / 0.7903 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.798e-05/0.2235, allocations: 11.91 kB / 0.7903 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001588/0.2236, allocations: 186.8 kB / 0.7904 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.2236, allocations: 4 kB / 0.7905 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.047e-05/0.2237, allocations: 8 kB / 0.7905 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002059/0.2239, allocations: 77.58 kB / 0.7905 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.2239, allocations: 4 kB / 0.7905 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.74e-05/0.2239, allocations: 7.984 kB / 0.7905 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.2239, allocations: 0 / 0.7905 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001425/0.2241, allocations: 55.91 kB / 0.7906 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005529/0.2247, allocations: 332.8 kB / 0.7909 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001856/0.2249, allocations: 90.61 kB / 0.791 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.294e-05/0.2249, allocations: 40.84 kB / 0.791 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.225, allocations: 7.984 kB / 0.7911 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002158/0.2252, allocations: 103.3 kB / 0.7911 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.352e-06/0.2252, allocations: 4 kB / 0.7912 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0004332/0.2256, allocations: 181.4 kB / 0.7913 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/0.2257, allocations: 59.41 kB / 0.7914 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001193/0.2258, allocations: 144.2 kB / 0.7915 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.2259, allocations: 29.7 kB / 0.7915 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.28e-05/0.2259, allocations: 96.05 kB / 0.7916 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.842e-05/0.226, allocations: 27.7 kB / 0.7917 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.748e-06/0.226, allocations: 8 kB / 0.7917 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.2261, allocations: 322.8 kB / 0.792 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.924e-05/0.2262, allocations: 31.98 kB / 0.792 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.823e-05/0.2263, allocations: 65.12 kB / 0.7921 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.711e-05/0.2264, allocations: 43.92 kB / 0.7921 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2264, allocations: 0 / 0.7921 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002903/0.2267, allocations: 137.4 kB / 0.7922 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.703e-05/0.2267, allocations: 16.05 kB / 0.7923 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.2267, allocations: 0 / 0.7923 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.2268, allocations: 4 kB / 0.7923 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.2269, allocations: 15.98 kB / 0.7923 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.381e-05/0.2269, allocations: 7.938 kB / 0.7923 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.227, allocations: 23.83 kB / 0.7923 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/0.227, allocations: 4 kB / 0.7923 GB, free: 6.477 MB / 0.6075 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.0001175/0.2272, allocations: 121.8 kB / 0.7924 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.099e-05/0.2272, allocations: 11.91 kB / 0.7924 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003664/0.2276, allocations: 181.5 kB / 0.7926 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.2276, allocations: 0 / 0.7926 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.2276, allocations: 0 / 0.7926 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.2276, allocations: 3.984 kB / 0.7926 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006264/0.2282, allocations: 470.3 kB / 0.7931 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.2282, allocations: 7.891 kB / 0.7931 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.612e-05/0.2283, allocations: 12 kB / 0.7931 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.2283, allocations: 0 / 0.7931 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.2284, allocations: 3.984 kB / 0.7931 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.2284, allocations: 0 / 0.7931 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.2284, allocations: 7.938 kB / 0.7931 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003182/0.2287, allocations: 251.4 kB / 0.7933 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.94e-05/0.2288, allocations: 92.88 kB / 0.7934 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.447e-05/0.2288, allocations: 0 / 0.7934 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.2289, allocations: 19.98 kB / 0.7934 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.957e-05/0.229, allocations: 16.06 kB / 0.7935 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-05/0.229, allocations: 11.97 kB / 0.7935 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.195e-05/0.2291, allocations: 101.2 kB / 0.7936 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.9e-07/0.2291, allocations: 4 kB / 0.7936 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003435/0.2294, allocations: 47.98 kB / 0.7936 GB, free: 5.035 MB / 0.6075 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.0003806/0.2298, allocations: 162.2 kB / 0.7938 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002477/0.2301, allocations: 95.89 kB / 0.7939 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2301, allocations: 0 / 0.7939 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001302/0.2302, allocations: 59.91 kB / 0.7939 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003261/0.2306, allocations: 20.17 kB / 0.7939 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005122/0.2311, allocations: 270.1 kB / 0.7942 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002787/0.2314, allocations: 0.7043 MB / 0.7949 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.606e-05/0.2315, allocations: 12.48 kB / 0.7949 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.783e-05/0.2315, allocations: 15.44 kB / 0.7949 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2315, allocations: 3.938 kB / 0.7949 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of Templates: time 0.005111/0.2366, allocations: 1.813 MB / 0.7967 GB, free: 1.855 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.sim & ./Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1) Environment - environmentSimulation: