Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 83.59 kB / 20.45 MB, free: 4.117 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 165 kB / 23.82 MB, free: 0.7461 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9588/0.9588, allocations: 177.1 MB / 204.2 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.914/1.914, allocations: 359 MB / 0.6052 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.392e-05/2.53e-05, allocations: 3.875 kB / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.002096/0.002121, allocations: 1.589 MB / 0.7886 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001047/0.003168, allocations: 0.8129 MB / 0.7894 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.449e-05/0.003223, allocations: 3.938 kB / 0.7894 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.129e-05/0.003254, allocations: 4.562 kB / 0.7894 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.513e-05/0.003339, allocations: 25.19 kB / 0.7894 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005664/0.003905, allocations: 151.4 kB / 0.7896 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001196/0.004025, allocations: 99.64 kB / 0.7897 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.331e-05/0.004108, allocations: 5.078 kB / 0.7897 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001401/0.004248, allocations: 71.8 kB / 0.7898 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.844e-05/0.004307, allocations: 44.38 kB / 0.7898 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.862e-05/0.004326, allocations: 8.719 kB / 0.7898 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002088/0.004534, allocations: 139.7 kB / 0.7899 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.669e-05/0.004561, allocations: 20.88 kB / 0.79 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.386e-05/0.004605, allocations: 27.91 kB / 0.79 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002435/0.004848, allocations: 172.1 kB / 0.7901 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.004851, allocations: 0 / 0.7901 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.42e-07/0.004852, allocations: 1.594 kB / 0.7901 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.004856, allocations: 0 / 0.7901 GB, free: 9.332 MB / 0.7448 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.0005386/0.005394, allocations: 0.5089 MB / 0.7906 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.005429, allocations: 9.062 kB / 0.7907 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001843/0.005613, allocations: 40.08 kB / 0.7907 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001604/0.005774, allocations: 144.4 kB / 0.7908 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.005791, allocations: 384 / 0.7908 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.669e-05/0.005808, allocations: 12.36 kB / 0.7908 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.005939, allocations: 74.92 kB / 0.7909 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.00595, allocations: 4.125 kB / 0.7909 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.005965, allocations: 8.109 kB / 0.7909 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.308e-06/0.005974, allocations: 7.984 kB / 0.7909 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.846e-05/0.006033, allocations: 24.64 kB / 0.791 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003566/0.006389, allocations: 305.4 kB / 0.7912 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001279/0.006517, allocations: 67.19 kB / 0.7913 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.966e-05/0.006557, allocations: 27.67 kB / 0.7913 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.006577, allocations: 9.312 kB / 0.7913 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001504/0.006728, allocations: 88.91 kB / 0.7914 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=11): time 1.733e-06/0.006729, allocations: 0 / 0.7914 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.000261/0.00699, allocations: 142.7 kB / 0.7916 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.145e-05/0.007022, allocations: 55.41 kB / 0.7916 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.768e-05/0.007119, allocations: 191.5 kB / 0.7918 GB, free: 7.457 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/0.007131, allocations: 26.64 kB / 0.7918 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.13e-05/0.007182, allocations: 146.8 kB / 0.792 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.214e-05/0.007204, allocations: 27.75 kB / 0.792 GB, free: 7.25 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.237e-05/0.007247, allocations: 40.98 kB / 0.792 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.007348, allocations: 0.4923 MB / 0.7925 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.074e-05/0.007379, allocations: 15.98 kB / 0.7925 GB, free: 6.684 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.433e-05/0.007433, allocations: 69.2 kB / 0.7926 GB, free: 6.594 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.309e-05/0.007526, allocations: 103.3 kB / 0.7927 GB, free: 6.469 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.007529, allocations: 4.562 kB / 0.7927 GB, free: 6.465 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001368/0.007666, allocations: 118 kB / 0.7928 GB, free: 6.344 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.007677, allocations: 5.406 kB / 0.7928 GB, free: 6.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.007683, allocations: 7.984 kB / 0.7928 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.007697, allocations: 0 / 0.7928 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.858e-05/0.007786, allocations: 24.52 kB / 0.7928 GB, free: 6.309 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.007792, allocations: 3.938 kB / 0.7929 GB, free: 6.305 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.628e-05/0.007838, allocations: 21.58 kB / 0.7929 GB, free: 6.285 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-06/0.007847, allocations: 4 kB / 0.7929 GB, free: 6.281 MB / 0.7448 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 6.737e-05/0.007915, allocations: 162.6 kB / 0.793 GB, free: 6.113 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.056e-05/0.007935, allocations: 24.92 kB / 0.7931 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001881/0.008123, allocations: 138.3 kB / 0.7932 GB, free: 5.953 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.008126, allocations: 4.531 kB / 0.7932 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.008129, allocations: 0 / 0.7932 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.008132, allocations: 0.5312 kB / 0.7932 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003219/0.008454, allocations: 410.4 kB / 0.7936 GB, free: 5.508 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.008455, allocations: 0 / 0.7936 GB, free: 5.508 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.467e-05/0.00849, allocations: 11.94 kB / 0.7936 GB, free: 5.496 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.008493, allocations: 8.516 kB / 0.7936 GB, free: 5.488 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.008502, allocations: 0.5312 kB / 0.7936 GB, free: 5.488 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.008504, allocations: 0.8125 kB / 0.7936 GB, free: 5.488 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.008505, allocations: 0 / 0.7936 GB, free: 5.488 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002058/0.00871, allocations: 277.2 kB / 0.7939 GB, free: 5.199 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.207e-05/0.008723, allocations: 16.78 kB / 0.7939 GB, free: 5.184 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.00874, allocations: 7.984 kB / 0.7939 GB, free: 5.176 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.05e-05/0.008791, allocations: 5.344 kB / 0.7939 GB, free: 5.172 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.186e-05/0.008833, allocations: 15.97 kB / 0.7939 GB, free: 5.156 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.008846, allocations: 7.938 kB / 0.7939 GB, free: 5.148 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.764e-05/0.008894, allocations: 141.7 kB / 0.7941 GB, free: 5.012 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.008894, allocations: 4.906 kB / 0.7941 GB, free: 5.008 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002226/0.009116, allocations: 47.86 kB / 0.7941 GB, free: 4.961 MB / 0.7448 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.0002771/0.009393, allocations: 171.4 kB / 0.7943 GB, free: 4.801 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001449/0.009538, allocations: 71.03 kB / 0.7943 GB, free: 4.73 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.009541, allocations: 4 kB / 0.7943 GB, free: 4.727 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.629e-05/0.009598, allocations: 48.72 kB / 0.7944 GB, free: 4.676 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002109/0.009808, allocations: 23.92 kB / 0.7944 GB, free: 4.652 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004926/0.0103, allocations: 227.9 kB / 0.7946 GB, free: 4.398 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.697e-05/0.01034, allocations: 63.84 kB / 0.7947 GB, free: 4.316 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.364e-05/0.01037, allocations: 13.84 kB / 0.7947 GB, free: 4.305 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.453e-05/0.01041, allocations: 17.28 kB / 0.7947 GB, free: 4.289 MB / 0.7448 GB Notification: Performance of SimCode: time 5.21e-07/0.01041, allocations: 3.938 kB / 0.7947 GB, free: 4.285 MB / 0.7448 GB Notification: Performance of Templates: time 0.003698/0.0141, allocations: 2.041 MB / 0.7967 GB, free: 2.289 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.sim & ./Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.442011192906648]