Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_latest_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_latest_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.001074/0.001074, allocations: 119.1 kB / 16.37 MB, free: 5.984 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.001065/0.001065, allocations: 193.5 kB / 17.31 MB, free: 5.602 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.304/1.304, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.424/2.424, allocations: 442.6 MB / 0.7165 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00181/0.001811, allocations: 59.94 kB / 0.8773 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2744/0.2763, allocations: 153 MB / 1.027 GB, free: 2.098 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.002561/0.2789, allocations: 1.528 MB / 1.028 GB, free: 0.5625 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001247/0.2801, allocations: 0.7555 MB / 1.029 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.111e-05/0.2802, allocations: 0 / 1.029 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.531e-05/0.2803, allocations: 15.86 kB / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.875e-05/0.2803, allocations: 7.875 kB / 1.029 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004839/0.2808, allocations: 135.5 kB / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001429/0.281, allocations: 103.7 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.344e-05/0.2811, allocations: 12 kB / 1.029 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.791e-05/0.2812, allocations: 43.84 kB / 1.029 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.236e-05/0.2813, allocations: 47.75 kB / 1.029 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.2813, allocations: 8 kB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001833/0.2815, allocations: 95.91 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.049e-05/0.2815, allocations: 19.92 kB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.728e-05/0.2816, allocations: 47.77 kB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002879/0.2819, allocations: 163.5 kB / 1.03 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.2819, allocations: 0 / 1.03 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2819, allocations: 0 / 1.03 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.2819, allocations: 0 / 1.03 GB, free: 15.11 MB / 0.8106 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.0007728/0.2827, allocations: 496.2 kB / 1.03 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.2827, allocations: 8.031 kB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.508e-05/0.2828, allocations: 20.78 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.2829, allocations: 180.2 kB / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.283, allocations: 8.312 kB / 1.03 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.216e-05/0.283, allocations: 8.375 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.2832, allocations: 85.95 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.2832, allocations: 3.938 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.2832, allocations: 0 / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.2832, allocations: 4 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001562/0.2834, allocations: 51.95 kB / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005287/0.2839, allocations: 336.6 kB / 1.031 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002198/0.2842, allocations: 82.67 kB / 1.031 GB, free: 13.69 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.942e-05/0.2843, allocations: 40.84 kB / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.2843, allocations: 0 / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002352/0.2845, allocations: 103.4 kB / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=11): time 1.382e-06/0.2845, allocations: 0 / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11): time 0.00046/0.285, allocations: 177.8 kB / 1.031 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.875e-05/0.2851, allocations: 55.41 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.2852, allocations: 128.9 kB / 1.031 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.2852, allocations: 33.7 kB / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.359e-05/0.2853, allocations: 92.12 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.684e-05/0.2853, allocations: 35.55 kB / 1.031 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.526e-05/0.2854, allocations: 33.7 kB / 1.032 GB, free: 12.94 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.2855, allocations: 326.8 kB / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.048e-05/0.2856, allocations: 31.92 kB / 1.032 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001091/0.2857, allocations: 69.12 kB / 1.032 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001802/0.2859, allocations: 113 kB / 1.032 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.2859, allocations: 0 / 1.032 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000251/0.2862, allocations: 129.4 kB / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.2862, allocations: 12.09 kB / 1.032 GB, free: 12.22 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.775e-05/0.2862, allocations: 0 / 1.032 GB, free: 12.22 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.2862, allocations: 4 kB / 1.032 GB, free: 12.22 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.2864, allocations: 19.92 kB / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.2864, allocations: 3.984 kB / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001017/0.2865, allocations: 15.94 kB / 1.032 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.472e-05/0.2865, allocations: 4 kB / 1.032 GB, free: 12.18 MB / 0.8106 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.0001127/0.2866, allocations: 135.3 kB / 1.032 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.25e-05/0.2867, allocations: 15.84 kB / 1.032 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003377/0.287, allocations: 158.2 kB / 1.033 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.287, allocations: 4 kB / 1.033 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.287, allocations: 0 / 1.033 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.287, allocations: 0 / 1.033 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005766/0.2876, allocations: 450.4 kB / 1.033 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2876, allocations: 0 / 1.033 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.6e-05/0.2877, allocations: 15.98 kB / 1.033 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.2877, allocations: 7.938 kB / 1.033 GB, free: 11.33 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.2877, allocations: 0 / 1.033 GB, free: 11.33 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.2877, allocations: 7.938 kB / 1.033 GB, free: 11.32 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2878, allocations: 0 / 1.033 GB, free: 11.32 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003135/0.2881, allocations: 241.7 kB / 1.033 GB, free: 11.07 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.86e-05/0.2881, allocations: 92.86 kB / 1.033 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.821e-05/0.2882, allocations: 11.94 kB / 1.033 GB, free: 10.95 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.2883, allocations: 11.98 kB / 1.033 GB, free: 10.94 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.844e-05/0.2883, allocations: 11.98 kB / 1.033 GB, free: 10.93 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.2884, allocations: 7.984 kB / 1.033 GB, free: 10.92 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.32e-05/0.2884, allocations: 102.6 kB / 1.033 GB, free: 10.82 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2884, allocations: 0 / 1.033 GB, free: 10.82 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003294/0.2888, allocations: 40 kB / 1.033 GB, free: 10.79 MB / 0.8106 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.0003079/0.2891, allocations: 163.8 kB / 1.034 GB, free: 10.63 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002446/0.2893, allocations: 103.8 kB / 1.034 GB, free: 10.53 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2894, allocations: 0 / 1.034 GB, free: 10.53 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001123/0.2895, allocations: 51.97 kB / 1.034 GB, free: 10.48 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002963/0.2898, allocations: 24.16 kB / 1.034 GB, free: 10.46 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004534/0.2902, allocations: 220 kB / 1.034 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002496/0.2905, allocations: 0.6963 MB / 1.035 GB, free: 9.488 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 5.503e-05/0.2906, allocations: 12.44 kB / 1.035 GB, free: 9.473 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.971e-05/0.2906, allocations: 15.42 kB / 1.035 GB, free: 9.461 MB / 0.8106 GB Notification: Performance of SimCode: time 3.91e-07/0.2906, allocations: 0 / 1.035 GB, free: 9.461 MB / 0.8106 GB Notification: Performance of Templates: time 0.004629/0.2953, allocations: 1.944 MB / 1.037 GB, free: 7.527 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.sim & ./Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches