Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001811/0.001811, allocations: 115.9 kB / 17.08 MB, free: 5.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002065/0.002065, allocations: 193.2 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 222.9 MB / 245.7 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.65/2.65, allocations: 437.1 MB / 0.7177 GB, free: 4.512 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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="mat",numberOfIntervals=2500,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_10_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_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 59.91 kB / 1.028 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2983/0.3003, allocations: 151.6 MB / 1.176 GB, free: 5.918 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.003225/0.3036, allocations: 1.531 MB / 1.177 GB, free: 4.367 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001408/0.305, allocations: 0.7556 MB / 1.178 GB, free: 3.605 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.052e-05/0.3051, allocations: 4 kB / 1.178 GB, free: 3.602 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.602e-05/0.3051, allocations: 7.922 kB / 1.178 GB, free: 3.594 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.891e-05/0.3052, allocations: 15.8 kB / 1.178 GB, free: 3.578 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005104/0.3058, allocations: 131.6 kB / 1.178 GB, free: 3.449 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001374/0.3059, allocations: 95.7 kB / 1.178 GB, free: 3.355 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.85e-05/0.306, allocations: 12 kB / 1.178 GB, free: 3.344 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/0.3061, allocations: 51.77 kB / 1.178 GB, free: 3.293 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.887e-05/0.3062, allocations: 47.83 kB / 1.178 GB, free: 3.246 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.171e-05/0.3062, allocations: 8 kB / 1.178 GB, free: 3.238 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002045/0.3065, allocations: 99.84 kB / 1.178 GB, free: 3.141 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.235e-05/0.3065, allocations: 23.91 kB / 1.179 GB, free: 3.117 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.052e-05/0.3066, allocations: 39.78 kB / 1.179 GB, free: 3.078 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002704/0.3068, allocations: 155.5 kB / 1.179 GB, free: 2.926 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3069, allocations: 0 / 1.179 GB, free: 2.926 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.787e-06/0.3069, allocations: 4 kB / 1.179 GB, free: 2.922 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.598e-06/0.3069, allocations: 0 / 1.179 GB, free: 2.922 MB / 0.92 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.0008046/0.3077, allocations: 0.4921 MB / 1.179 GB, free: 2.363 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.3077, allocations: 12.03 kB / 1.179 GB, free: 2.352 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.469e-05/0.3078, allocations: 12.89 kB / 1.179 GB, free: 2.34 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001661/0.3079, allocations: 188.1 kB / 1.179 GB, free: 2.117 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.308, allocations: 8.375 kB / 1.179 GB, free: 2.109 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.308, allocations: 4.375 kB / 1.179 GB, free: 2.105 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002039/0.3082, allocations: 77.95 kB / 1.179 GB, free: 2.023 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.3082, allocations: 4 kB / 1.179 GB, free: 2.02 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.3082, allocations: 8 kB / 1.179 GB, free: 2.012 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.3083, allocations: 0 / 1.179 GB, free: 2.012 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001626/0.3084, allocations: 59.88 kB / 1.18 GB, free: 1.953 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005665/0.309, allocations: 328.7 kB / 1.18 GB, free: 1.582 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000234/0.3092, allocations: 86.7 kB / 1.18 GB, free: 1.488 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.951e-05/0.3094, allocations: 40.78 kB / 1.18 GB, free: 1.445 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.3094, allocations: 3.984 kB / 1.18 GB, free: 1.441 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002587/0.3096, allocations: 99.34 kB / 1.18 GB, free: 1.332 MB / 0.92 GB Notification: Performance of pre-optimization done (n=11): time 1.553e-06/0.3097, allocations: 0 / 1.18 GB, free: 1.332 MB / 0.92 GB Notification: Performance of matching and sorting (n=11): time 0.0004713/0.3101, allocations: 181.5 kB / 1.18 GB, free: 1.148 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.431e-05/0.3102, allocations: 59.34 kB / 1.18 GB, free: 1.078 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.3103, allocations: 130.1 kB / 1.18 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.3104, allocations: 25.7 kB / 1.18 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.047e-05/0.3104, allocations: 100.1 kB / 1.181 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.098e-05/0.3105, allocations: 23.8 kB / 1.181 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.069e-05/0.3105, allocations: 33.7 kB / 1.181 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.3107, allocations: 326.8 kB / 1.181 GB, free: 424 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.253e-05/0.3108, allocations: 31.98 kB / 1.181 GB, free: 392 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001101/0.3109, allocations: 66.11 kB / 1.181 GB, free: 308 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002099/0.3111, allocations: 109.1 kB / 1.181 GB, free: 180 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3111, allocations: 0 / 1.181 GB, free: 180 kB / 0.92 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002703/0.3114, allocations: 137.4 kB / 1.181 GB, free: 36 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.3114, allocations: 4 kB / 1.181 GB, free: 32 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/0.3114, allocations: 4 kB / 1.181 GB, free: 28 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.3115, allocations: 0 / 1.181 GB, free: 28 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.3116, allocations: 23.92 kB / 1.181 GB, free: 4 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.145e-05/0.3116, allocations: 12.14 kB / 1.181 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000103/0.3118, allocations: 7.938 kB / 1.181 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.977e-05/0.3118, allocations: 8 kB / 1.181 GB, free: 15.97 MB / 0.9356 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.0001282/0.3119, allocations: 133.6 kB / 1.181 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.342e-05/0.3119, allocations: 7.953 kB / 1.181 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003785/0.3123, allocations: 162.5 kB / 1.182 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.3123, allocations: 0 / 1.182 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.3124, allocations: 4 kB / 1.182 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.3124, allocations: 0 / 1.182 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006763/0.313, allocations: 453.8 kB / 1.182 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.3131, allocations: 4 kB / 1.182 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.494e-05/0.3131, allocations: 12 kB / 1.182 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.3132, allocations: 3.984 kB / 1.182 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.3132, allocations: 0 / 1.182 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.15e-05/0.3132, allocations: 11.94 kB / 1.182 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3132, allocations: 7.938 kB / 1.182 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003534/0.3136, allocations: 243.4 kB / 1.182 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.196e-05/0.3136, allocations: 85 kB / 1.182 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.802e-05/0.3137, allocations: 7.938 kB / 1.182 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.3138, allocations: 11.98 kB / 1.182 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.075e-05/0.3138, allocations: 7.984 kB / 1.182 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.976e-05/0.3139, allocations: 11.92 kB / 1.182 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.358e-05/0.314, allocations: 105.8 kB / 1.183 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/0.314, allocations: 4 kB / 1.183 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003453/0.3143, allocations: 39.94 kB / 1.183 GB, free: 14.59 MB / 0.9356 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.0004035/0.3147, allocations: 160.1 kB / 1.183 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000281/0.315, allocations: 95.89 kB / 1.183 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.315, allocations: 0 / 1.183 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001419/0.3152, allocations: 55.91 kB / 1.183 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003077/0.3155, allocations: 19.92 kB / 1.183 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005199/0.316, allocations: 245.7 kB / 1.183 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000347/0.3164, allocations: 0.7041 MB / 1.184 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.306e-05/0.3164, allocations: 11.44 kB / 1.184 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of SimCode: time 3.81e-07/0.3164, allocations: 0 / 1.184 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of Templates: time 0.00424/0.3207, allocations: 1.946 MB / 1.186 GB, free: 11.3 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.sim & ./Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.74944978998974]