Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.445/1.445, allocations: 252 MB / 267.6 MB, free: 10.9 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0011/0.0011, allocations: 182.6 kB / 327.3 MB, free: 2.207 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.933/1.933, allocations: 205.4 MB / 0.5783 GB, free: 20.24 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008802/0.0008801, allocations: 102.2 kB / 0.6829 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003674/0.0003674, allocations: 9.719 kB / 0.797 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2742/0.2746, allocations: 106.3 MB / 0.9008 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.001862/0.2765, allocations: 1.219 MB / 0.902 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001186/0.2777, allocations: 0.7528 MB / 0.9027 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.881e-05/0.2778, allocations: 0 / 0.9027 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.159e-05/0.2778, allocations: 7.922 kB / 0.9028 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001054/0.2779, allocations: 7.875 kB / 0.9028 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004976/0.2784, allocations: 103.8 kB / 0.9029 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001138/0.2786, allocations: 71.77 kB / 0.9029 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.2787, allocations: 15.98 kB / 0.9029 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.2788, allocations: 31.84 kB / 0.903 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.154e-05/0.2789, allocations: 39.83 kB / 0.903 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.2789, allocations: 4 kB / 0.903 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001679/0.2791, allocations: 79.91 kB / 0.9031 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.297e-05/0.2791, allocations: 19.92 kB / 0.9031 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.827e-05/0.2792, allocations: 41.64 kB / 0.9032 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001655/0.2793, allocations: 103.8 kB / 0.9033 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.2794, allocations: 0 / 0.9033 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.054e-06/0.2794, allocations: 0 / 0.9033 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.2794, allocations: 0 / 0.9033 GB, free: 61.36 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.0007025/0.2801, allocations: 458.6 kB / 0.9037 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.2801, allocations: 11.97 kB / 0.9037 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.463e-05/0.2802, allocations: 4 kB / 0.9037 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/0.2803, allocations: 182.9 kB / 0.9039 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.735e-05/0.2804, allocations: 4 kB / 0.9039 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.167e-05/0.2804, allocations: 4 kB / 0.9039 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002126/0.2806, allocations: 73.64 kB / 0.904 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.158e-06/0.2806, allocations: 0 / 0.904 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.2807, allocations: 3.938 kB / 0.904 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.2807, allocations: 8 kB / 0.904 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001435/0.2808, allocations: 43.97 kB / 0.904 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006044/0.2814, allocations: 316.7 kB / 0.9043 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001702/0.2816, allocations: 74.58 kB / 0.9044 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.299e-05/0.2817, allocations: 32.84 kB / 0.9044 GB, free: 60 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.808e-05/0.2818, allocations: 0 / 0.9044 GB, free: 60 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002598/0.282, allocations: 99.5 kB / 0.9045 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 1.402e-06/0.282, allocations: 0 / 0.9045 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0004241/0.2825, allocations: 165.7 kB / 0.9047 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.639e-05/0.2825, allocations: 59.41 kB / 0.9047 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.922e-05/0.2826, allocations: 128.2 kB / 0.9048 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.2827, allocations: 33.8 kB / 0.9049 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.499e-05/0.2827, allocations: 96.31 kB / 0.905 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.336e-05/0.2828, allocations: 23.64 kB / 0.905 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.424e-06/0.2828, allocations: 8 kB / 0.905 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.333e-05/0.2829, allocations: 318.8 kB / 0.9053 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.192e-05/0.2829, allocations: 27.92 kB / 0.9053 GB, free: 59 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.155e-05/0.283, allocations: 69.14 kB / 0.9054 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.315e-05/0.2831, allocations: 31.98 kB / 0.9054 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2831, allocations: 0 / 0.9054 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000241/0.2834, allocations: 141.5 kB / 0.9056 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.2834, allocations: 4 kB / 0.9056 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.2834, allocations: 4 kB / 0.9056 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.2834, allocations: 0 / 0.9056 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.2836, allocations: 19.92 kB / 0.9056 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.2836, allocations: 7.953 kB / 0.9056 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001062/0.2837, allocations: 15.89 kB / 0.9056 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.551e-05/0.2837, allocations: 8 kB / 0.9056 GB, free: 58.68 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 9.398e-05/0.2838, allocations: 132.5 kB / 0.9057 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.611e-05/0.2839, allocations: 8 kB / 0.9058 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003293/0.2842, allocations: 153.9 kB / 0.9059 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.2842, allocations: 4 kB / 0.9059 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.2842, allocations: 0 / 0.9059 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.2842, allocations: 11.94 kB / 0.9059 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005272/0.2848, allocations: 434.3 kB / 0.9063 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.2848, allocations: 0 / 0.9063 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.186e-05/0.2849, allocations: 11.98 kB / 0.9063 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.2849, allocations: 0 / 0.9063 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.2849, allocations: 11.95 kB / 0.9064 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.2849, allocations: 0 / 0.9064 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2849, allocations: 0 / 0.9064 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002695/0.2852, allocations: 235.3 kB / 0.9066 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.713e-05/0.2852, allocations: 85.02 kB / 0.9067 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.267e-05/0.2852, allocations: 0 / 0.9067 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.2854, allocations: 19.94 kB / 0.9067 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.095e-05/0.2854, allocations: 11.98 kB / 0.9067 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.624e-05/0.2855, allocations: 4 kB / 0.9067 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.417e-05/0.2855, allocations: 95.27 kB / 0.9068 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2855, allocations: 0 / 0.9068 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003417/0.2859, allocations: 47.98 kB / 0.9068 GB, free: 57.34 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.0004097/0.2863, allocations: 164.4 kB / 0.907 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002284/0.2865, allocations: 83.89 kB / 0.9071 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.2865, allocations: 0 / 0.9071 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001055/0.2867, allocations: 56.11 kB / 0.9071 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003183/0.287, allocations: 15.98 kB / 0.9071 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004859/0.2875, allocations: 256.8 kB / 0.9074 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001757/0.2877, allocations: 0.6926 MB / 0.9081 GB, free: 56.03 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.944e-05/0.2877, allocations: 23.42 kB / 0.9081 GB, free: 56.01 MB / 0.6042 GB Notification: Performance of SimCode: time 2.21e-07/0.2877, allocations: 0 / 0.9081 GB, free: 56.01 MB / 0.6042 GB Notification: Performance of Templates: time 0.003643/0.2914, allocations: 1.817 MB / 0.9099 GB, free: 54.2 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1)