Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001286/0.001286, allocations: 187.5 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.886/2.886, allocations: 472.6 MB / 0.7448 GB, free: 4.867 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001554/0.001554, allocations: 64.28 kB / 0.9115 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.3306, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.002999/0.3336, allocations: 1.57 MB / 1.069 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001339/0.335, allocations: 0.7478 MB / 1.07 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.627e-05/0.335, allocations: 3.938 kB / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.066e-05/0.3351, allocations: 3.938 kB / 1.07 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.248e-05/0.3352, allocations: 19.91 kB / 1.07 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005837/0.3358, allocations: 107.8 kB / 1.07 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001299/0.3359, allocations: 83.7 kB / 1.07 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.3361, allocations: 15.98 kB / 1.07 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.3362, allocations: 39.84 kB / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.067e-05/0.3363, allocations: 39.83 kB / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.842e-05/0.3363, allocations: 8 kB / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001894/0.3365, allocations: 99.84 kB / 1.07 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.067e-05/0.3365, allocations: 23.91 kB / 1.07 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.021e-05/0.3366, allocations: 31.86 kB / 1.07 GB, free: 8 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002605/0.3368, allocations: 147.9 kB / 1.071 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3369, allocations: 0 / 1.071 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3369, allocations: 0 / 1.071 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.3369, allocations: 0 / 1.071 GB, free: 7.855 MB / 0.8262 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.000768/0.3376, allocations: 466.5 kB / 1.071 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.3377, allocations: 8.031 kB / 1.071 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.78e-05/0.3377, allocations: 4.938 kB / 1.071 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/0.3379, allocations: 188.1 kB / 1.071 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.3379, allocations: 8.375 kB / 1.071 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.431e-05/0.338, allocations: 4.375 kB / 1.071 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000193/0.3382, allocations: 81.94 kB / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.3382, allocations: 0 / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.3382, allocations: 0 / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.3382, allocations: 0 / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001446/0.3384, allocations: 47.91 kB / 1.071 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005468/0.3389, allocations: 324.7 kB / 1.072 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002083/0.3391, allocations: 62.55 kB / 1.072 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.933e-05/0.3392, allocations: 36.84 kB / 1.072 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/0.3393, allocations: 4 kB / 1.072 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002477/0.3395, allocations: 95.33 kB / 1.072 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=10): time 1.914e-06/0.3395, allocations: 0 / 1.072 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.0004019/0.3399, allocations: 157.5 kB / 1.072 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.577e-05/0.34, allocations: 55.41 kB / 1.072 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.3401, allocations: 133.7 kB / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.3401, allocations: 29.7 kB / 1.072 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.218e-05/0.3402, allocations: 88.38 kB / 1.072 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.496e-05/0.3402, allocations: 27.84 kB / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.502e-05/0.3403, allocations: 33.7 kB / 1.072 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.3404, allocations: 322.8 kB / 1.073 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.739e-05/0.3405, allocations: 27.98 kB / 1.073 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/0.3406, allocations: 68.52 kB / 1.073 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001701/0.3408, allocations: 105 kB / 1.073 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.3408, allocations: 0 / 1.073 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002555/0.341, allocations: 133.4 kB / 1.073 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.3411, allocations: 7.938 kB / 1.073 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.3411, allocations: 0 / 1.073 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.3411, allocations: 4 kB / 1.073 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.3412, allocations: 15.98 kB / 1.073 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.3412, allocations: 3.938 kB / 1.073 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/0.3413, allocations: 20.05 kB / 1.073 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.282e-05/0.3414, allocations: 4 kB / 1.073 GB, free: 5.066 MB / 0.8262 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 9.244e-05/0.3415, allocations: 121.8 kB / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.479e-05/0.3415, allocations: 7.906 kB / 1.073 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003284/0.3418, allocations: 145.9 kB / 1.073 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.3418, allocations: 4.094 kB / 1.073 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.3418, allocations: 4 kB / 1.073 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.3419, allocations: 7.969 kB / 1.073 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006159/0.3425, allocations: 422.2 kB / 1.074 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3425, allocations: 0 / 1.074 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.639e-05/0.3426, allocations: 15.98 kB / 1.074 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.3426, allocations: 0 / 1.074 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.3426, allocations: 4 kB / 1.074 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.3426, allocations: 384 / 1.074 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.3426, allocations: 7.938 kB / 1.074 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003245/0.3429, allocations: 223.3 kB / 1.074 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.764e-05/0.343, allocations: 88.95 kB / 1.074 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.646e-05/0.343, allocations: 7.938 kB / 1.074 GB, free: 3.922 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.3432, allocations: 7.984 kB / 1.074 GB, free: 3.914 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.394e-05/0.3432, allocations: 27.86 kB / 1.074 GB, free: 3.887 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.3433, allocations: 8 kB / 1.074 GB, free: 3.879 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.126e-05/0.3433, allocations: 91.27 kB / 1.074 GB, free: 3.789 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3434, allocations: 4 kB / 1.074 GB, free: 3.785 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003506/0.3437, allocations: 39.98 kB / 1.074 GB, free: 3.746 MB / 0.8262 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.0003921/0.3441, allocations: 155.5 kB / 1.074 GB, free: 3.602 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002956/0.3444, allocations: 95.83 kB / 1.074 GB, free: 3.508 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3444, allocations: 0 / 1.074 GB, free: 3.508 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000116/0.3446, allocations: 43.92 kB / 1.074 GB, free: 3.465 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003188/0.3449, allocations: 18.23 kB / 1.074 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005172/0.3454, allocations: 239.7 kB / 1.075 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003041/0.3457, allocations: 0.6963 MB / 1.075 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.975e-05/0.3458, allocations: 12.42 kB / 1.075 GB, free: 2.453 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.114e-05/0.3458, allocations: 15.44 kB / 1.075 GB, free: 2.438 MB / 0.8262 GB Notification: Performance of SimCode: time 5.71e-07/0.3458, allocations: 0 / 1.075 GB, free: 2.438 MB / 0.8262 GB Notification: Performance of Templates: time 0.005181/0.351, allocations: 1.734 MB / 1.077 GB, free: 0.707 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile (rm -f Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & ./Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1)