Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.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.Gunay2016Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 196.9 kB / 16.53 MB, free: 6.664 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.373/1.373, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.949/2.949, allocations: 472.6 MB / 0.7451 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001464, allocations: 62.25 kB / 0.912 GB, free: 33.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3187/0.3202, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.00266/0.3229, allocations: 1.518 MB / 1.07 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001261/0.3242, allocations: 0.7556 MB / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.206e-05/0.3242, allocations: 0 / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.139e-05/0.3243, allocations: 7.922 kB / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.393e-05/0.3244, allocations: 15.8 kB / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004615/0.3249, allocations: 127.6 kB / 1.071 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001079/0.325, allocations: 99.7 kB / 1.071 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.622e-05/0.3251, allocations: 19.97 kB / 1.071 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.688e-05/0.3252, allocations: 43.84 kB / 1.071 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.332e-05/0.3252, allocations: 51.77 kB / 1.071 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.3253, allocations: 8 kB / 1.071 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001739/0.3254, allocations: 99.78 kB / 1.071 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.61e-05/0.3255, allocations: 23.95 kB / 1.071 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.22e-05/0.3255, allocations: 39.8 kB / 1.071 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002142/0.3257, allocations: 163.8 kB / 1.071 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.3258, allocations: 0 / 1.071 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.355e-06/0.3258, allocations: 0 / 1.071 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.3258, allocations: 0 / 1.071 GB, free: 7.473 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006754/0.3265, allocations: 496.2 kB / 1.072 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.928e-05/0.3265, allocations: 8.031 kB / 1.072 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.156e-05/0.3265, allocations: 8.844 kB / 1.072 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.3267, allocations: 194.1 kB / 1.072 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.3267, allocations: 384 / 1.072 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.763e-05/0.3267, allocations: 12.36 kB / 1.072 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/0.3269, allocations: 85.95 kB / 1.072 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.3269, allocations: 0 / 1.072 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.3269, allocations: 0 / 1.072 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.852e-06/0.327, allocations: 4 kB / 1.072 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001522/0.3271, allocations: 51.91 kB / 1.072 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005211/0.3276, allocations: 336.7 kB / 1.072 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000204/0.3279, allocations: 74.67 kB / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.918e-05/0.328, allocations: 44.88 kB / 1.072 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.328, allocations: 7.984 kB / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002229/0.3282, allocations: 107.2 kB / 1.072 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=11): time 1.483e-06/0.3282, allocations: 0 / 1.072 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11): time 0.0004101/0.3286, allocations: 173.5 kB / 1.073 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.3287, allocations: 51.41 kB / 1.073 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.3288, allocations: 134 kB / 1.073 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.518e-05/0.3288, allocations: 37.69 kB / 1.073 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.899e-05/0.3289, allocations: 108 kB / 1.073 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.071e-05/0.3289, allocations: 27.64 kB / 1.073 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.248e-05/0.329, allocations: 29.7 kB / 1.073 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.3291, allocations: 322.8 kB / 1.073 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.22e-05/0.3292, allocations: 31.97 kB / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.518e-05/0.3293, allocations: 71.11 kB / 1.073 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001771/0.3295, allocations: 105.1 kB / 1.073 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3295, allocations: 0 / 1.073 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002452/0.3297, allocations: 145.4 kB / 1.074 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.3298, allocations: 4 kB / 1.074 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.3298, allocations: 0 / 1.074 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.3298, allocations: 4 kB / 1.074 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.3299, allocations: 19.92 kB / 1.074 GB, free: 4.555 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.3299, allocations: 4 kB / 1.074 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.33, allocations: 19.83 kB / 1.074 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.33, allocations: 4 kB / 1.074 GB, free: 4.527 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,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.825e-05/0.3301, allocations: 130.3 kB / 1.074 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.114e-05/0.3302, allocations: 7.906 kB / 1.074 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003418/0.3305, allocations: 162.3 kB / 1.074 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/0.3305, allocations: 7.984 kB / 1.074 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.3305, allocations: 0 / 1.074 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3306, allocations: 0 / 1.074 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005806/0.3311, allocations: 454.3 kB / 1.074 GB, free: 3.707 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.3311, allocations: 144 / 1.074 GB, free: 3.707 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.255e-05/0.3312, allocations: 15.98 kB / 1.074 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.3312, allocations: 3.984 kB / 1.074 GB, free: 3.688 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.3313, allocations: 0 / 1.074 GB, free: 3.688 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3313, allocations: 0 / 1.074 GB, free: 3.688 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.3313, allocations: 7.938 kB / 1.074 GB, free: 3.68 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000299/0.3316, allocations: 242.7 kB / 1.075 GB, free: 3.43 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.751e-05/0.3316, allocations: 92.94 kB / 1.075 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.442e-05/0.3317, allocations: 8 kB / 1.075 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.3318, allocations: 7.984 kB / 1.075 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.408e-05/0.3318, allocations: 19.86 kB / 1.075 GB, free: 3.285 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.3318, allocations: 4 kB / 1.075 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.106e-05/0.3319, allocations: 95.27 kB / 1.075 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3319, allocations: 0 / 1.075 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003175/0.3322, allocations: 51.98 kB / 1.075 GB, free: 3.137 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 (booleanPulse.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,booleanPulse.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * 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.0002789/0.3325, allocations: 154.8 kB / 1.075 GB, free: 2.992 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002493/0.3328, allocations: 103.3 kB / 1.075 GB, free: 2.895 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3328, allocations: 4 kB / 1.075 GB, free: 2.891 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001281/0.3329, allocations: 56.09 kB / 1.075 GB, free: 2.836 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003067/0.3333, allocations: 21.81 kB / 1.075 GB, free: 2.816 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004482/0.3337, allocations: 223.9 kB / 1.075 GB, free: 2.57 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002499/0.334, allocations: 0.6963 MB / 1.076 GB, free: 1.848 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.912e-05/0.334, allocations: 12.41 kB / 1.076 GB, free: 1.836 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.049e-05/0.3341, allocations: 19.44 kB / 1.076 GB, free: 1.816 MB / 0.8262 GB Notification: Performance of SimCode: time 6.21e-07/0.3341, allocations: 0 / 1.076 GB, free: 1.816 MB / 0.8262 GB Notification: Performance of Templates: time 0.004695/0.3388, allocations: 1.953 MB / 1.078 GB, free: 15.87 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.makefile (rm -f Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; mkfifo Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe >> ../files/Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.sim & ./Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1)