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.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001631/0.001631, allocations: 105.9 kB / 15.98 MB, free: 6.359 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.001342/0.001342, allocations: 198.6 kB / 16.91 MB, free: 6.191 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.393/1.393, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.714/2.714, allocations: 469.8 MB / 0.7427 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 63.61 kB / 0.9087 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2975/0.2996, allocations: 159.1 MB / 1.064 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.002819/0.3024, allocations: 1.579 MB / 1.066 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001317/0.3038, allocations: 0.7596 MB / 1.066 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.83e-05/0.3038, allocations: 0 / 1.066 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.435e-05/0.3039, allocations: 3.938 kB / 1.066 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.624e-05/0.304, allocations: 11.88 kB / 1.066 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004972/0.3045, allocations: 115.8 kB / 1.067 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001362/0.3046, allocations: 99.69 kB / 1.067 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.3047, allocations: 12 kB / 1.067 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.3048, allocations: 47.84 kB / 1.067 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.29e-05/0.3049, allocations: 43.81 kB / 1.067 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.186e-05/0.305, allocations: 8 kB / 1.067 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001868/0.3051, allocations: 95.91 kB / 1.067 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.934e-05/0.3052, allocations: 19.92 kB / 1.067 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 6.381e-05/0.3053, allocations: 43.78 kB / 1.067 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000185/0.3054, allocations: 108 kB / 1.067 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3055, allocations: 12 kB / 1.067 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.976e-06/0.3055, allocations: 0 / 1.067 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.3055, allocations: 3.938 kB / 1.067 GB, free: 12.15 MB / 0.8419 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.0007859/0.3063, allocations: 496.2 kB / 1.067 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.3063, allocations: 12.62 kB / 1.067 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.656e-05/0.3064, allocations: 8.844 kB / 1.068 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001608/0.3065, allocations: 181.3 kB / 1.068 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.3066, allocations: 4.375 kB / 1.068 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.754e-05/0.3066, allocations: 12.38 kB / 1.068 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002038/0.3068, allocations: 85.89 kB / 1.068 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.3068, allocations: 0 / 1.068 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.3068, allocations: 0 / 1.068 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.3068, allocations: 0 / 1.068 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001604/0.307, allocations: 51.97 kB / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005851/0.3076, allocations: 332.7 kB / 1.068 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002256/0.3078, allocations: 90.64 kB / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.462e-05/0.308, allocations: 36.84 kB / 1.068 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.308, allocations: 4 kB / 1.068 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002367/0.3082, allocations: 103.3 kB / 1.068 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=11): time 1.473e-06/0.3082, allocations: 4 kB / 1.068 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11): time 0.0004632/0.3087, allocations: 173.4 kB / 1.069 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.934e-05/0.3088, allocations: 63.39 kB / 1.069 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.3089, allocations: 132.1 kB / 1.069 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.3089, allocations: 25.7 kB / 1.069 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.904e-05/0.309, allocations: 92.14 kB / 1.069 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.797e-05/0.309, allocations: 35.55 kB / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.767e-05/0.3091, allocations: 33.7 kB / 1.069 GB, free: 9.984 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.3092, allocations: 322.8 kB / 1.069 GB, free: 9.66 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.434e-05/0.3093, allocations: 27.98 kB / 1.069 GB, free: 9.633 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001188/0.3095, allocations: 73.12 kB / 1.069 GB, free: 9.543 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001919/0.3097, allocations: 105 kB / 1.069 GB, free: 9.422 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.3097, allocations: 4 kB / 1.069 GB, free: 9.418 MB / 0.8419 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002699/0.3099, allocations: 137.4 kB / 1.07 GB, free: 9.277 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.31, allocations: 8.094 kB / 1.07 GB, free: 9.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.31, allocations: 4 kB / 1.07 GB, free: 9.266 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.31, allocations: 0 / 1.07 GB, free: 9.266 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.3101, allocations: 15.98 kB / 1.07 GB, free: 9.25 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.3101, allocations: 4 kB / 1.07 GB, free: 9.246 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.3102, allocations: 19.92 kB / 1.07 GB, free: 9.227 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/0.3103, allocations: 4 kB / 1.07 GB, free: 9.223 MB / 0.8419 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.0001169/0.3104, allocations: 133.6 kB / 1.07 GB, free: 9.082 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.547e-05/0.3104, allocations: 15.81 kB / 1.07 GB, free: 9.066 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000359/0.3108, allocations: 161.6 kB / 1.07 GB, free: 8.906 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.748e-06/0.3108, allocations: 0 / 1.07 GB, free: 8.906 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.3108, allocations: 3.938 kB / 1.07 GB, free: 8.902 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.3108, allocations: 0 / 1.07 GB, free: 8.902 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000637/0.3115, allocations: 450.4 kB / 1.07 GB, free: 8.406 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3115, allocations: 4 kB / 1.07 GB, free: 8.402 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.746e-05/0.3116, allocations: 11.94 kB / 1.07 GB, free: 8.391 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.3116, allocations: 0 / 1.07 GB, free: 8.391 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.917e-05/0.3116, allocations: 11.98 kB / 1.07 GB, free: 8.379 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.3116, allocations: 0 / 1.07 GB, free: 8.379 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/0.3116, allocations: 3.938 kB / 1.07 GB, free: 8.375 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000333/0.3119, allocations: 235.3 kB / 1.071 GB, free: 8.129 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.794e-05/0.312, allocations: 96.95 kB / 1.071 GB, free: 8.016 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.454e-05/0.312, allocations: 0 / 1.071 GB, free: 8.016 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/0.3122, allocations: 7.984 kB / 1.071 GB, free: 8.008 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.052e-05/0.3122, allocations: 19.86 kB / 1.071 GB, free: 7.988 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-05/0.3123, allocations: 4 kB / 1.071 GB, free: 7.984 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.878e-05/0.3123, allocations: 110.5 kB / 1.071 GB, free: 7.879 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3123, allocations: 0 / 1.071 GB, free: 7.879 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003345/0.3127, allocations: 40 kB / 1.071 GB, free: 7.84 MB / 0.8419 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.0003812/0.3131, allocations: 174.2 kB / 1.071 GB, free: 7.676 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002725/0.3134, allocations: 95.89 kB / 1.071 GB, free: 7.582 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.3134, allocations: 0 / 1.071 GB, free: 7.582 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001257/0.3135, allocations: 59.84 kB / 1.071 GB, free: 7.523 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003114/0.3138, allocations: 26.41 kB / 1.071 GB, free: 7.5 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00052/0.3144, allocations: 261.8 kB / 1.071 GB, free: 7.211 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003226/0.3147, allocations: 0.7002 MB / 1.072 GB, free: 6.484 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.544e-05/0.3147, allocations: 19.38 kB / 1.072 GB, free: 6.465 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.3148, allocations: 0 / 1.072 GB, free: 6.465 MB / 0.8419 GB Notification: Performance of Templates: time 0.004146/0.3189, allocations: 1.948 MB / 1.074 GB, free: 4.523 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.makefile (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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1) 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches