Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.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.Love1998Light1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.402/1.402, allocations: 252 MB / 267.6 MB, free: 10.95 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.00103/0.00103, allocations: 186.5 kB / 327.3 MB, free: 2.195 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.922/1.922, allocations: 205.4 MB / 0.5783 GB, free: 20.48 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.0008753/0.0008752, allocations: 95.36 kB / 0.6829 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003738/0.0003739, allocations: 9.25 kB / 0.797 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.2765, allocations: 106.3 MB / 0.9008 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.001951/0.2785, allocations: 1.219 MB / 0.902 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001247/0.2797, allocations: 0.7606 MB / 0.9028 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.235e-05/0.2798, allocations: 0 / 0.9028 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.2e-05/0.2798, allocations: 7.922 kB / 0.9028 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001092/0.28, allocations: 11.88 kB / 0.9028 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004776/0.2804, allocations: 95.77 kB / 0.9029 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000102/0.2806, allocations: 83.75 kB / 0.9029 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.2807, allocations: 4 kB / 0.9029 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.963e-05/0.2808, allocations: 39.84 kB / 0.903 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.279e-05/0.2809, allocations: 31.89 kB / 0.903 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.793e-05/0.2809, allocations: 4 kB / 0.903 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000165/0.2811, allocations: 87.84 kB / 0.9031 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.426e-05/0.2811, allocations: 15.92 kB / 0.9031 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.725e-05/0.2811, allocations: 37.7 kB / 0.9032 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001578/0.2813, allocations: 99.81 kB / 0.9032 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.2813, allocations: 0 / 0.9032 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2813, allocations: 0 / 0.9032 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.2813, allocations: 0 / 0.9032 GB, free: 61.79 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.0006972/0.282, allocations: 454.7 kB / 0.9037 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.2821, allocations: 15.97 kB / 0.9037 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.235e-05/0.2821, allocations: 4 kB / 0.9037 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.2823, allocations: 182.8 kB / 0.9039 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.32e-05/0.2823, allocations: 8 kB / 0.9039 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.774e-05/0.2823, allocations: 4 kB / 0.9039 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001946/0.2825, allocations: 73.64 kB / 0.904 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.2825, allocations: 0 / 0.904 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.2826, allocations: 4 kB / 0.904 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.2826, allocations: 0 / 0.904 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001364/0.2827, allocations: 55.84 kB / 0.904 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005187/0.2832, allocations: 316.7 kB / 0.9043 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001444/0.2834, allocations: 66.55 kB / 0.9044 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.495e-05/0.2835, allocations: 44.86 kB / 0.9044 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.82e-05/0.2835, allocations: 8.141 kB / 0.9044 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002183/0.2838, allocations: 87.36 kB / 0.9045 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 1.523e-06/0.2838, allocations: 0 / 0.9045 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0004046/0.2842, allocations: 173.4 kB / 0.9047 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.2842, allocations: 51.41 kB / 0.9047 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.036e-05/0.2843, allocations: 136.6 kB / 0.9049 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.315e-05/0.2843, allocations: 25.7 kB / 0.9049 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.728e-05/0.2844, allocations: 92.38 kB / 0.905 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.172e-05/0.2844, allocations: 27.64 kB / 0.905 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.891e-06/0.2844, allocations: 4 kB / 0.905 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.132e-05/0.2845, allocations: 322.8 kB / 0.9053 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.085e-05/0.2846, allocations: 27.98 kB / 0.9053 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.862e-05/0.2847, allocations: 69.08 kB / 0.9054 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.247e-05/0.2848, allocations: 35.98 kB / 0.9054 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.2848, allocations: 0 / 0.9054 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002044/0.285, allocations: 129.4 kB / 0.9056 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.285, allocations: 12.12 kB / 0.9056 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.285, allocations: 0 / 0.9056 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.285, allocations: 0 / 0.9056 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.2852, allocations: 23.92 kB / 0.9056 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.2852, allocations: 7.953 kB / 0.9056 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001125/0.2853, allocations: 15.89 kB / 0.9056 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.353e-05/0.2853, allocations: 4 kB / 0.9056 GB, free: 59.11 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 8.658e-05/0.2854, allocations: 133.7 kB / 0.9057 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.574e-05/0.2854, allocations: 8.281 kB / 0.9058 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003396/0.2858, allocations: 149.9 kB / 0.9059 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.736e-06/0.2858, allocations: 0 / 0.9059 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.2858, allocations: 0 / 0.9059 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.2858, allocations: 11.88 kB / 0.9059 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004762/0.2863, allocations: 438.3 kB / 0.9063 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-06/0.2863, allocations: 0 / 0.9063 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.484e-05/0.2864, allocations: 11.98 kB / 0.9063 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.2864, allocations: 4 kB / 0.9063 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.2864, allocations: 7.953 kB / 0.9064 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.2864, allocations: 0 / 0.9064 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2864, allocations: 4 kB / 0.9064 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000232/0.2867, allocations: 231.3 kB / 0.9066 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.53e-05/0.2867, allocations: 85.02 kB / 0.9067 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.2867, allocations: 4 kB / 0.9067 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.2868, allocations: 19.94 kB / 0.9067 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.801e-05/0.2869, allocations: 7.984 kB / 0.9067 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-05/0.2869, allocations: 4 kB / 0.9067 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.052e-05/0.287, allocations: 99.27 kB / 0.9068 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.287, allocations: 0 / 0.9068 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002933/0.2873, allocations: 43.98 kB / 0.9068 GB, free: 57.76 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.0003675/0.2877, allocations: 167.5 kB / 0.907 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002317/0.2879, allocations: 83.89 kB / 0.9071 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2879, allocations: 0 / 0.9071 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001012/0.288, allocations: 55.86 kB / 0.9071 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002933/0.2883, allocations: 20.17 kB / 0.9071 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004349/0.2888, allocations: 248.8 kB / 0.9074 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001793/0.289, allocations: 0.7043 MB / 0.9081 GB, free: 56.44 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.431e-05/0.289, allocations: 15.42 kB / 0.9081 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.289, allocations: 0 / 0.9081 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of Templates: time 0.0046/0.2936, allocations: 1.813 MB / 0.9099 GB, free: 54.62 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1)