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/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.829/1.829, allocations: 292.3 MB / 308.1 MB, free: 4.301 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001415/0.001415, allocations: 188.5 kB / 376.9 MB, free: 1.797 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.682/1.682, allocations: 205.1 MB / 0.6354 GB, free: 9.785 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001062/0.001061, allocations: 92.69 kB / 0.748 GB, free: 61.21 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 51.92 kB / 0.8704 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3226/0.3239, allocations: 114.5 MB / 0.9822 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.003597/0.3275, allocations: 1.569 MB / 0.9838 GB, free: 8.785 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001689/0.3292, allocations: 0.7917 MB / 0.9845 GB, free: 7.984 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.361e-05/0.3294, allocations: 4 kB / 0.9845 GB, free: 7.98 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.566e-05/0.3294, allocations: 3.938 kB / 0.9845 GB, free: 7.977 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001216/0.3296, allocations: 19.86 kB / 0.9846 GB, free: 7.957 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006816/0.3303, allocations: 103.8 kB / 0.9847 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001496/0.3304, allocations: 71.78 kB / 0.9847 GB, free: 7.785 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.3306, allocations: 19.97 kB / 0.9847 GB, free: 7.766 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000137/0.3307, allocations: 31.8 kB / 0.9848 GB, free: 7.734 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 8.863e-05/0.3308, allocations: 43.81 kB / 0.9848 GB, free: 7.691 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.3308, allocations: 8 kB / 0.9848 GB, free: 7.684 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002653/0.3311, allocations: 95.84 kB / 0.9849 GB, free: 7.59 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.949e-05/0.3312, allocations: 11.98 kB / 0.9849 GB, free: 7.578 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 8.887e-05/0.3313, allocations: 31.8 kB / 0.985 GB, free: 7.547 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002997/0.3316, allocations: 143.9 kB / 0.9851 GB, free: 7.406 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3316, allocations: 0 / 0.9851 GB, free: 7.406 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.114e-06/0.3316, allocations: 0 / 0.9851 GB, free: 7.406 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.3316, allocations: 0 / 0.9851 GB, free: 7.406 MB / 0.7136 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.0009501/0.3326, allocations: 462.6 kB / 0.9855 GB, free: 6.895 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.171e-05/0.3326, allocations: 8.031 kB / 0.9855 GB, free: 6.887 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.891e-05/0.3327, allocations: 12.84 kB / 0.9856 GB, free: 6.875 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001741/0.3329, allocations: 180.2 kB / 0.9857 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.3329, allocations: 4.359 kB / 0.9857 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.689e-05/0.333, allocations: 8.375 kB / 0.9857 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002156/0.3332, allocations: 69.97 kB / 0.9858 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.3332, allocations: 0 / 0.9858 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.256e-05/0.3332, allocations: 8 kB / 0.9858 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.3332, allocations: 3.938 kB / 0.9858 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001428/0.3334, allocations: 43.91 kB / 0.9859 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006347/0.334, allocations: 320.7 kB / 0.9862 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001602/0.3342, allocations: 62.55 kB / 0.9862 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.013e-05/0.3343, allocations: 40.83 kB / 0.9863 GB, free: 6.043 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.531e-05/0.3343, allocations: 4 kB / 0.9863 GB, free: 6.039 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002927/0.3346, allocations: 99.23 kB / 0.9864 GB, free: 5.93 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.783e-06/0.3346, allocations: 0 / 0.9864 GB, free: 5.93 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0004118/0.3351, allocations: 161.5 kB / 0.9865 GB, free: 5.766 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.601e-05/0.3351, allocations: 51.41 kB / 0.9866 GB, free: 5.703 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.3352, allocations: 129.8 kB / 0.9867 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.272e-05/0.3353, allocations: 29.7 kB / 0.9867 GB, free: 5.531 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.314e-05/0.3354, allocations: 96.52 kB / 0.9868 GB, free: 5.434 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.061e-05/0.3354, allocations: 23.7 kB / 0.9868 GB, free: 5.41 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.519e-05/0.3355, allocations: 29.7 kB / 0.9869 GB, free: 5.375 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.3356, allocations: 322.8 kB / 0.9872 GB, free: 5.051 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.407e-05/0.3357, allocations: 23.98 kB / 0.9872 GB, free: 5.027 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.787e-05/0.3358, allocations: 73.12 kB / 0.9873 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001755/0.336, allocations: 109 kB / 0.9874 GB, free: 4.812 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.336, allocations: 0 / 0.9874 GB, free: 4.812 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002436/0.3363, allocations: 125.4 kB / 0.9875 GB, free: 4.684 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.3363, allocations: 4 kB / 0.9875 GB, free: 4.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/0.3363, allocations: 7.984 kB / 0.9875 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.3363, allocations: 0 / 0.9875 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.3365, allocations: 15.98 kB / 0.9875 GB, free: 4.656 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.3365, allocations: 7.938 kB / 0.9875 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.3366, allocations: 19.97 kB / 0.9875 GB, free: 4.629 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.879e-05/0.3366, allocations: 11.97 kB / 0.9875 GB, free: 4.617 MB / 0.7136 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 0.0001169/0.3367, allocations: 125.8 kB / 0.9877 GB, free: 4.484 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.888e-05/0.3368, allocations: 4 kB / 0.9877 GB, free: 4.48 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003229/0.3371, allocations: 153.8 kB / 0.9878 GB, free: 4.32 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.3371, allocations: 0 / 0.9878 GB, free: 4.32 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.3371, allocations: 4 kB / 0.9878 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.3371, allocations: 0 / 0.9878 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005553/0.3377, allocations: 426.7 kB / 0.9882 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.3377, allocations: 3.938 kB / 0.9882 GB, free: 3.84 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.359e-05/0.3378, allocations: 8 kB / 0.9882 GB, free: 3.832 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.3378, allocations: 0 / 0.9882 GB, free: 3.832 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.744e-05/0.3378, allocations: 11.92 kB / 0.9883 GB, free: 3.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.3378, allocations: 0 / 0.9883 GB, free: 3.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.3378, allocations: 7.938 kB / 0.9883 GB, free: 3.812 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006228/0.3385, allocations: 0.8098 MB / 0.989 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.405e-05/0.3385, allocations: 88.89 kB / 0.9891 GB, free: 2.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.87e-05/0.3385, allocations: 8 kB / 0.9891 GB, free: 2.832 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.3387, allocations: 15.92 kB / 0.9892 GB, free: 2.816 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.04e-05/0.3387, allocations: 12.06 kB / 0.9892 GB, free: 2.805 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.811e-05/0.3387, allocations: 4 kB / 0.9892 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.911e-05/0.3388, allocations: 100 kB / 0.9893 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1e-07/0.3388, allocations: 0 / 0.9893 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004587/0.3393, allocations: 43.98 kB / 0.9893 GB, free: 2.66 MB / 0.7136 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.0003922/0.3397, allocations: 167.2 kB / 0.9895 GB, free: 2.496 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002438/0.3399, allocations: 79.89 kB / 0.9895 GB, free: 2.418 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.34, allocations: 0 / 0.9895 GB, free: 2.418 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001053/0.3401, allocations: 43.98 kB / 0.9896 GB, free: 2.375 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003037/0.3404, allocations: 22.5 kB / 0.9896 GB, free: 2.355 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006171/0.341, allocations: 375 kB / 0.99 GB, free: 1.953 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003087/0.3413, allocations: 0.7082 MB / 0.9907 GB, free: 1.219 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.451e-05/0.3414, allocations: 8.422 kB / 0.9907 GB, free: 1.211 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.823e-05/0.3414, allocations: 15.44 kB / 0.9907 GB, free: 1.195 MB / 0.7136 GB Notification: Performance of SimCode: time 2e-07/0.3414, allocations: 0 / 0.9907 GB, free: 1.195 MB / 0.7136 GB Notification: Performance of Templates: time 0.005069/0.3465, allocations: 1.714 MB / 0.9924 GB, free: 15.48 MB / 0.7292 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)