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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_10_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.001581/0.001582, allocations: 110.4 kB / 16.42 MB, free: 6.512 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.001852/0.001852, allocations: 185.5 kB / 17.35 MB, free: 5.738 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.312/1.312, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.502/2.502, allocations: 437 MB / 0.7112 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 63.89 kB / 1.019 GB, free: 9.422 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6793/0.6812, allocations: 151.6 MB / 1.167 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.002671/0.6839, allocations: 1.533 MB / 1.169 GB, free: 2.277 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001265/0.6852, allocations: 0.7479 MB / 1.169 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.757e-05/0.6852, allocations: 0 / 1.169 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.846e-05/0.6853, allocations: 3.938 kB / 1.17 GB, free: 1.52 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.036e-05/0.6854, allocations: 23.78 kB / 1.17 GB, free: 1.496 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005098/0.6859, allocations: 127.6 kB / 1.17 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001329/0.686, allocations: 103.7 kB / 1.17 GB, free: 1.27 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.233e-05/0.6861, allocations: 8 kB / 1.17 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.6863, allocations: 55.77 kB / 1.17 GB, free: 1.207 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.445e-05/0.6863, allocations: 39.83 kB / 1.17 GB, free: 1.168 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.102e-05/0.6864, allocations: 8 kB / 1.17 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001946/0.6866, allocations: 99.84 kB / 1.17 GB, free: 1.062 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.12e-05/0.6866, allocations: 23.91 kB / 1.17 GB, free: 1.039 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.309e-05/0.6867, allocations: 39.8 kB / 1.17 GB, free: 1 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002456/0.6869, allocations: 163.4 kB / 1.17 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.6869, allocations: 0 / 1.17 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.192e-06/0.6869, allocations: 0 / 1.17 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.195e-06/0.687, allocations: 0 / 1.17 GB, free: 0.8438 MB / 0.8887 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.0007123/0.6877, allocations: 0.4902 MB / 1.171 GB, free: 296 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.6877, allocations: 8.031 kB / 1.171 GB, free: 288 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.617e-05/0.6878, allocations: 8.844 kB / 1.171 GB, free: 280 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.6879, allocations: 192.2 kB / 1.171 GB, free: 48 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.6879, allocations: 384 / 1.171 GB, free: 48 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.287e-05/0.688, allocations: 8.375 kB / 1.171 GB, free: 40 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002108/0.6882, allocations: 85.89 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.6882, allocations: 3.938 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.6882, allocations: 0 / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.6882, allocations: 0 / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001553/0.6884, allocations: 51.97 kB / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005359/0.6889, allocations: 336.6 kB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002105/0.6891, allocations: 90.69 kB / 1.171 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.322e-05/0.6892, allocations: 40.84 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.6893, allocations: 0 / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002215/0.6895, allocations: 103.3 kB / 1.172 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=11): time 1.553e-06/0.6895, allocations: 0 / 1.172 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11): time 0.0004299/0.6899, allocations: 177.4 kB / 1.172 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/0.69, allocations: 55.41 kB / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.6901, allocations: 132.4 kB / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.036e-05/0.6902, allocations: 29.7 kB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.359e-05/0.6902, allocations: 100 kB / 1.172 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.947e-05/0.6903, allocations: 27.64 kB / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.69e-05/0.6903, allocations: 33.7 kB / 1.172 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.6904, allocations: 322.8 kB / 1.172 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.128e-05/0.6905, allocations: 31.98 kB / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.849e-05/0.6906, allocations: 65.14 kB / 1.172 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001863/0.6908, allocations: 113 kB / 1.173 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.6909, allocations: 0 / 1.173 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002498/0.6911, allocations: 133.5 kB / 1.173 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.6911, allocations: 12 kB / 1.173 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.6911, allocations: 0 / 1.173 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.6912, allocations: 4 kB / 1.173 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.6913, allocations: 15.98 kB / 1.173 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.6913, allocations: 4 kB / 1.173 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/0.6914, allocations: 19.89 kB / 1.173 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.6914, allocations: 4 kB / 1.173 GB, free: 13.91 MB / 0.9044 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.0001173/0.6915, allocations: 136.4 kB / 1.173 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.288e-05/0.6916, allocations: 11.84 kB / 1.173 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003493/0.6919, allocations: 164.2 kB / 1.173 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.6919, allocations: 3.984 kB / 1.173 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.692, allocations: 0 / 1.173 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.098e-05/0.692, allocations: 85.02 kB / 1.173 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.716e-05/0.692, allocations: 4 kB / 1.173 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.965e-05/0.6921, allocations: 23.8 kB / 1.173 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.458e-05/0.6922, allocations: 7.984 kB / 1.173 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003631/0.6926, allocations: 228.9 kB / 1.173 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000338/0.6929, allocations: 320.3 kB / 1.174 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001076/0.693, allocations: 51.91 kB / 1.174 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.666e-05/0.6931, allocations: 105.4 kB / 1.174 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of Backend: time 3.5e-07/0.6931, allocations: 4 kB / 1.174 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006382/0.6937, allocations: 195.8 kB / 1.174 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005592/0.6943, allocations: 0.6416 MB / 1.175 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of Templates: time 0.004751/0.6991, allocations: 1.909 MB / 1.177 GB, free: 9.957 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches