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.001449/0.001449, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001336/0.001336, allocations: 191.5 kB / 16.13 MB, free: 6.703 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.426/1.426, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.075/3.075, allocations: 472.6 MB / 0.7447 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 65.3 kB / 0.9113 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.3128, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.002772/0.3157, allocations: 1.585 MB / 1.069 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001199/0.3169, allocations: 0.7634 MB / 1.07 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.858e-05/0.3169, allocations: 0 / 1.07 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.321e-05/0.317, allocations: 3.938 kB / 1.07 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.818e-05/0.3171, allocations: 7.922 kB / 1.07 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004036/0.3175, allocations: 107.8 kB / 1.07 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.3176, allocations: 95.64 kB / 1.07 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.547e-05/0.3177, allocations: 23.95 kB / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.311e-05/0.3178, allocations: 35.92 kB / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.375e-05/0.3179, allocations: 43.81 kB / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.3179, allocations: 4 kB / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001611/0.3181, allocations: 95.84 kB / 1.07 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.524e-05/0.3181, allocations: 15.92 kB / 1.07 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.345e-05/0.3181, allocations: 39.78 kB / 1.07 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002211/0.3184, allocations: 159.8 kB / 1.07 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3184, allocations: 4 kB / 1.07 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.905e-06/0.3184, allocations: 0 / 1.07 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.999e-06/0.3184, allocations: 3.938 kB / 1.07 GB, free: 7.891 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.0006952/0.3191, allocations: 0.4885 MB / 1.071 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.3192, allocations: 12.03 kB / 1.071 GB, free: 7.324 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.278e-05/0.3192, allocations: 8.844 kB / 1.071 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.3193, allocations: 180.2 kB / 1.071 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.3194, allocations: 4.375 kB / 1.071 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.177e-05/0.3194, allocations: 8.375 kB / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001996/0.3196, allocations: 85.89 kB / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.3196, allocations: 4 kB / 1.071 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.3196, allocations: 0 / 1.071 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.3196, allocations: 0 / 1.071 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001543/0.3198, allocations: 55.95 kB / 1.071 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005393/0.3203, allocations: 324.7 kB / 1.072 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000216/0.3206, allocations: 94.69 kB / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.041e-05/0.3207, allocations: 36.84 kB / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.3207, allocations: 4 kB / 1.072 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002394/0.3209, allocations: 95.34 kB / 1.072 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=11): time 1.513e-06/0.321, allocations: 4 kB / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11): time 0.0004309/0.3214, allocations: 177.4 kB / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.914e-05/0.3214, allocations: 59.41 kB / 1.072 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.3216, allocations: 131.9 kB / 1.072 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.3216, allocations: 25.7 kB / 1.072 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.498e-05/0.3216, allocations: 100 kB / 1.072 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.682e-05/0.3217, allocations: 23.66 kB / 1.072 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.487e-05/0.3217, allocations: 37.7 kB / 1.072 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.3219, allocations: 322.8 kB / 1.073 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.197e-05/0.3219, allocations: 27.98 kB / 1.073 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.779e-05/0.322, allocations: 73.12 kB / 1.073 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001806/0.3222, allocations: 109 kB / 1.073 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3222, allocations: 0 / 1.073 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002516/0.3225, allocations: 137.5 kB / 1.073 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.3225, allocations: 4 kB / 1.073 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.3225, allocations: 4 kB / 1.073 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.3225, allocations: 8.031 kB / 1.073 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.3227, allocations: 15.98 kB / 1.073 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/0.3227, allocations: 11.92 kB / 1.073 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.3228, allocations: 19.84 kB / 1.073 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.3228, allocations: 4 kB / 1.073 GB, free: 4.957 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 0.000102/0.3229, allocations: 132.5 kB / 1.073 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.188e-05/0.323, allocations: 7.906 kB / 1.073 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000357/0.3233, allocations: 165.8 kB / 1.073 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.3233, allocations: 0 / 1.073 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.3233, allocations: 7.938 kB / 1.073 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.3234, allocations: 0 / 1.073 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006319/0.324, allocations: 450.3 kB / 1.074 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.324, allocations: 0 / 1.074 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.033e-05/0.3241, allocations: 15.92 kB / 1.074 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.3241, allocations: 4 kB / 1.074 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/0.3241, allocations: 8 kB / 1.074 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3241, allocations: 0 / 1.074 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.3241, allocations: 3.938 kB / 1.074 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003218/0.3245, allocations: 235.4 kB / 1.074 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.348e-05/0.3245, allocations: 92.95 kB / 1.074 GB, free: 3.754 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.483e-05/0.3246, allocations: 0 / 1.074 GB, free: 3.754 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.3247, allocations: 11.98 kB / 1.074 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.076e-05/0.3247, allocations: 15.92 kB / 1.074 GB, free: 3.727 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.961e-05/0.3248, allocations: 7.984 kB / 1.074 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.217e-05/0.3248, allocations: 105.2 kB / 1.074 GB, free: 3.617 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3248, allocations: 0 / 1.074 GB, free: 3.617 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003404/0.3252, allocations: 40 kB / 1.074 GB, free: 3.578 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.0003387/0.3255, allocations: 176.2 kB / 1.074 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002755/0.3258, allocations: 94.77 kB / 1.075 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3258, allocations: 0 / 1.075 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001273/0.326, allocations: 51.91 kB / 1.075 GB, free: 3.27 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003302/0.3263, allocations: 20.17 kB / 1.075 GB, free: 3.25 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005234/0.3268, allocations: 239.9 kB / 1.075 GB, free: 2.992 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000307/0.3272, allocations: 0.7043 MB / 1.075 GB, free: 2.262 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.576e-05/0.3272, allocations: 12.42 kB / 1.075 GB, free: 2.25 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.156e-05/0.3273, allocations: 11.44 kB / 1.076 GB, free: 2.238 MB / 0.8262 GB Notification: Performance of SimCode: time 3e-07/0.3273, allocations: 0 / 1.076 GB, free: 2.238 MB / 0.8262 GB Notification: Performance of Templates: time 0.005/0.3323, allocations: 1.827 MB / 1.077 GB, free: 428 kB / 0.8262 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)