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.343/1.343, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.001048/0.001048, allocations: 174.4 kB / 326.5 MB, free: 2.68 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.854/1.854, allocations: 205 MB / 0.5766 GB, free: 20.96 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.0008684/0.0008684, allocations: 84.56 kB / 0.6803 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003958/0.0003958, allocations: 8.719 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2613/0.2617, allocations: 105.4 MB / 0.8967 GB, free: 68.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.001707/0.2634, allocations: 1.239 MB / 0.8979 GB, free: 66.91 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001317/0.2648, allocations: 0.8039 MB / 0.8987 GB, free: 66.1 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.237e-05/0.2648, allocations: 4 kB / 0.8987 GB, free: 66.1 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.999e-05/0.2649, allocations: 0 / 0.8987 GB, free: 66.1 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.644e-05/0.265, allocations: 15.86 kB / 0.8988 GB, free: 66.08 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004496/0.2654, allocations: 111.7 kB / 0.8989 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.24e-05/0.2655, allocations: 79.75 kB / 0.8989 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.298e-05/0.2656, allocations: 15.94 kB / 0.899 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.035e-05/0.2657, allocations: 31.8 kB / 0.899 GB, free: 65.85 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.553e-05/0.2658, allocations: 39.88 kB / 0.899 GB, free: 65.81 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.756e-05/0.2658, allocations: 7.938 kB / 0.899 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001571/0.266, allocations: 83.91 kB / 0.8991 GB, free: 65.72 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.388e-05/0.266, allocations: 15.98 kB / 0.8991 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.541e-05/0.2661, allocations: 35.8 kB / 0.8992 GB, free: 65.67 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001493/0.2662, allocations: 107.8 kB / 0.8993 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.2663, allocations: 0 / 0.8993 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.014e-06/0.2663, allocations: 0 / 0.8993 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.2663, allocations: 0 / 0.8993 GB, free: 65.56 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.0006213/0.2669, allocations: 458.5 kB / 0.8997 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.2669, allocations: 12.03 kB / 0.8997 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.44e-05/0.267, allocations: 8.938 kB / 0.8997 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.2671, allocations: 184.1 kB / 0.8999 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.2671, allocations: 4.375 kB / 0.8999 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.517e-05/0.2672, allocations: 4.375 kB / 0.8999 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000174/0.2673, allocations: 77.91 kB / 0.9 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.2674, allocations: 3.938 kB / 0.9 GB, free: 64.72 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.2674, allocations: 4 kB / 0.9 GB, free: 64.72 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.2674, allocations: 4 kB / 0.9 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.2675, allocations: 43.97 kB / 0.9 GB, free: 64.67 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004524/0.268, allocations: 324.8 kB / 0.9003 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001368/0.2681, allocations: 70.58 kB / 0.9004 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.83e-05/0.2682, allocations: 32.84 kB / 0.9004 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.2682, allocations: 4 kB / 0.9004 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002016/0.2684, allocations: 95.36 kB / 0.9005 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/0.2684, allocations: 0 / 0.9005 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0003675/0.2688, allocations: 165.5 kB / 0.9007 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.2689, allocations: 55.41 kB / 0.9007 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.043e-05/0.269, allocations: 127.4 kB / 0.9009 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/0.269, allocations: 33.64 kB / 0.9009 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.666e-05/0.269, allocations: 92.38 kB / 0.901 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.09e-05/0.269, allocations: 32.16 kB / 0.901 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.538e-05/0.2691, allocations: 21.72 kB / 0.901 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.782e-05/0.2691, allocations: 326.8 kB / 0.9013 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.584e-05/0.2692, allocations: 23.98 kB / 0.9014 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.868e-05/0.2693, allocations: 77.06 kB / 0.9014 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000141/0.2694, allocations: 97.08 kB / 0.9015 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2695, allocations: 4 kB / 0.9015 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002033/0.2697, allocations: 133.4 kB / 0.9017 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.2697, allocations: 4 kB / 0.9017 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.2697, allocations: 4 kB / 0.9017 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.2697, allocations: 0 / 0.9017 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.2698, allocations: 19.92 kB / 0.9017 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.2699, allocations: 8.125 kB / 0.9017 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.376e-05/0.27, allocations: 19.98 kB / 0.9017 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.27, allocations: 4 kB / 0.9017 GB, free: 62.77 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 (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.525e-05/0.2701, allocations: 129.7 kB / 0.9018 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.928e-05/0.2701, allocations: 11.89 kB / 0.9019 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000296/0.2704, allocations: 154 kB / 0.902 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.2704, allocations: 3.984 kB / 0.902 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.2704, allocations: 0 / 0.902 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.2704, allocations: 0 / 0.902 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004491/0.2709, allocations: 438.2 kB / 0.9024 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.2709, allocations: 0 / 0.9024 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.158e-05/0.271, allocations: 11.98 kB / 0.9024 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.271, allocations: 4 kB / 0.9024 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.271, allocations: 4 kB / 0.9024 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.271, allocations: 0 / 0.9024 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.271, allocations: 3.938 kB / 0.9024 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002238/0.2712, allocations: 235.3 kB / 0.9027 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.658e-05/0.2713, allocations: 81.02 kB / 0.9028 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.262e-05/0.2713, allocations: 4 kB / 0.9028 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.2714, allocations: 11.98 kB / 0.9028 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.394e-05/0.2715, allocations: 19.86 kB / 0.9028 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.708e-05/0.2715, allocations: 4 kB / 0.9028 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.305e-05/0.2715, allocations: 97.64 kB / 0.9029 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2715, allocations: 8 kB / 0.9029 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003071/0.2719, allocations: 39.98 kB / 0.9029 GB, free: 61.43 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 (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.0003639/0.2722, allocations: 163.4 kB / 0.9031 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002201/0.2725, allocations: 95.83 kB / 0.9032 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2725, allocations: 0 / 0.9032 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.148e-05/0.2726, allocations: 43.98 kB / 0.9032 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/0.2729, allocations: 18.66 kB / 0.9032 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000431/0.2733, allocations: 267.2 kB / 0.9035 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001362/0.2735, allocations: 0.6965 MB / 0.9042 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.422e-05/0.2735, allocations: 15.44 kB / 0.9042 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of SimCode: time 3.1e-07/0.2735, allocations: 0 / 0.9042 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of Templates: time 0.003266/0.2768, allocations: 1.806 MB / 0.9059 GB, free: 58.29 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)