Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.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.Love1998Light1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00103/0.00103, allocations: 194.5 kB / 16.14 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.44/1.44, allocations: 205.1 MB / 222 MB, free: 4.73 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.77/1.77, allocations: 292.2 MB / 0.5484 GB, free: 13.72 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.001439/0.001439, allocations: 62.02 kB / 0.6708 GB, free: 26.56 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2221/0.2236, allocations: 114.5 MB / 0.7827 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.00265/0.2263, allocations: 1.577 MB / 0.7842 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001279/0.2276, allocations: 0.7917 MB / 0.785 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.394e-05/0.2276, allocations: 0 / 0.785 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.127e-05/0.2277, allocations: 0 / 0.785 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.56e-05/0.2278, allocations: 23.86 kB / 0.785 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004032/0.2282, allocations: 99.77 kB / 0.7851 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.706e-05/0.2283, allocations: 83.7 kB / 0.7852 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.853e-05/0.2284, allocations: 11.98 kB / 0.7852 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001007/0.2285, allocations: 31.86 kB / 0.7852 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.533e-05/0.2286, allocations: 39.83 kB / 0.7853 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.2286, allocations: 8 kB / 0.7853 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001635/0.2288, allocations: 91.91 kB / 0.7854 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.509e-05/0.2288, allocations: 15.91 kB / 0.7854 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.438e-05/0.2288, allocations: 31.86 kB / 0.7854 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002034/0.2291, allocations: 155.8 kB / 0.7855 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2291, allocations: 0 / 0.7855 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2291, allocations: 0 / 0.7855 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.2291, allocations: 0 / 0.7855 GB, free: 11.06 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006801/0.2298, allocations: 466.6 kB / 0.786 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.2298, allocations: 8.031 kB / 0.786 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.798e-05/0.2298, allocations: 8.844 kB / 0.786 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.23, allocations: 172.2 kB / 0.7862 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.23, allocations: 4.375 kB / 0.7862 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.189e-05/0.23, allocations: 16.34 kB / 0.7862 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001766/0.2302, allocations: 73.91 kB / 0.7863 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.2302, allocations: 0 / 0.7863 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.2302, allocations: 4 kB / 0.7863 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.2302, allocations: 4 kB / 0.7863 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001296/0.2304, allocations: 39.97 kB / 0.7863 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000495/0.2309, allocations: 316.8 kB / 0.7866 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000147/0.231, allocations: 70.48 kB / 0.7867 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.507e-05/0.2311, allocations: 36.84 kB / 0.7867 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.006e-05/0.2312, allocations: 8.078 kB / 0.7867 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000205/0.2314, allocations: 91.36 kB / 0.7868 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 2.695e-06/0.2314, allocations: 0 / 0.7868 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0003864/0.2318, allocations: 153.5 kB / 0.787 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/0.2318, allocations: 63.33 kB / 0.787 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.95e-05/0.2319, allocations: 125.8 kB / 0.7871 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.19e-05/0.232, allocations: 33.7 kB / 0.7872 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.966e-05/0.232, allocations: 92.36 kB / 0.7873 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.466e-05/0.232, allocations: 19.72 kB / 0.7873 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.208e-05/0.2321, allocations: 33.7 kB / 0.7873 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.2322, allocations: 326.7 kB / 0.7876 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.363e-05/0.2323, allocations: 23.98 kB / 0.7876 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.2324, allocations: 73.12 kB / 0.7877 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001686/0.2326, allocations: 101.1 kB / 0.7878 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.2326, allocations: 0 / 0.7878 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002354/0.2328, allocations: 125.4 kB / 0.7879 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.2328, allocations: 4 kB / 0.7879 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.2329, allocations: 0 / 0.7879 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.2329, allocations: 4 kB / 0.7879 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.233, allocations: 19.92 kB / 0.788 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.233, allocations: 3.984 kB / 0.788 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.2331, allocations: 20.06 kB / 0.788 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.339e-05/0.2331, allocations: 7.984 kB / 0.788 GB, free: 8.293 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 (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 8.789e-05/0.2332, allocations: 129.7 kB / 0.7881 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.797e-05/0.2333, allocations: 3.906 kB / 0.7881 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003175/0.2336, allocations: 149.9 kB / 0.7883 GB, free: 8 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.2336, allocations: 96 / 0.7883 GB, free: 8 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.2336, allocations: 11.92 kB / 0.7883 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.2336, allocations: 384 / 0.7883 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000561/0.2342, allocations: 422.3 kB / 0.7887 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.2342, allocations: 3.984 kB / 0.7887 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.713e-05/0.2343, allocations: 8 kB / 0.7887 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.2343, allocations: 3.938 kB / 0.7887 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.2343, allocations: 15.98 kB / 0.7887 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2343, allocations: 0 / 0.7887 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.2343, allocations: 11.88 kB / 0.7887 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002979/0.2346, allocations: 219.4 kB / 0.7889 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.639e-05/0.2347, allocations: 88.95 kB / 0.789 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.714e-05/0.2347, allocations: 3.984 kB / 0.789 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/0.2348, allocations: 12 kB / 0.789 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.522e-05/0.2349, allocations: 15.91 kB / 0.789 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.8e-05/0.2349, allocations: 8 kB / 0.789 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.531e-05/0.235, allocations: 102.8 kB / 0.7891 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.235, allocations: 0 / 0.7891 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003173/0.2353, allocations: 36 kB / 0.7892 GB, free: 6.969 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 (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.0003252/0.2357, allocations: 162.4 kB / 0.7893 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002429/0.2359, allocations: 87.83 kB / 0.7894 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2359, allocations: 0 / 0.7894 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001084/0.236, allocations: 47.97 kB / 0.7895 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002922/0.2363, allocations: 15.98 kB / 0.7895 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004672/0.2368, allocations: 241.4 kB / 0.7897 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002942/0.2371, allocations: 0.6926 MB / 0.7904 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.358e-05/0.2372, allocations: 12.42 kB / 0.7904 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.573e-05/0.2372, allocations: 15.44 kB / 0.7904 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of SimCode: time 6.71e-07/0.2372, allocations: 0 / 0.7904 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of Templates: time 0.004484/0.2417, allocations: 1.677 MB / 0.792 GB, free: 3.996 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & ./Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1)