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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0009083/0.0009083, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.0008782/0.0008783, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.78/2.78, allocations: 437.7 MB / 0.7117 GB, free: 7.148 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004777/0.0004781, allocations: 15.94 kB / 0.8722 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7265/0.727, allocations: 153.8 MB / 1.022 GB, free: 68 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.002411/0.7294, allocations: 1.231 MB / 1.024 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001529/0.731, allocations: 0.7056 MB / 1.024 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.901e-05/0.7311, allocations: 0 / 1.024 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.424e-05/0.7311, allocations: 0 / 1.024 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001341/0.7312, allocations: 19.84 kB / 1.024 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006164/0.7319, allocations: 99.77 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001475/0.732, allocations: 87.7 kB / 1.024 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.7322, allocations: 11.98 kB / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.7323, allocations: 43.84 kB / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.503e-05/0.7324, allocations: 43.77 kB / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.184e-05/0.7324, allocations: 4 kB / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002177/0.7326, allocations: 83.84 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.757e-05/0.7327, allocations: 11.98 kB / 1.025 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.495e-05/0.7327, allocations: 45.62 kB / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002287/0.733, allocations: 109.8 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.733, allocations: 0 / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.595e-06/0.733, allocations: 0 / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.733, allocations: 0 / 1.025 GB, free: 13.57 MB / 0.7794 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.0009106/0.7339, allocations: 492.1 kB / 1.025 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.456e-05/0.734, allocations: 8.562 kB / 1.025 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.506e-05/0.734, allocations: 7.906 kB / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002093/0.7342, allocations: 179 kB / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.516e-05/0.7343, allocations: 3.938 kB / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.575e-05/0.7343, allocations: 12 kB / 1.025 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002322/0.7346, allocations: 81.59 kB / 1.026 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/0.7346, allocations: 4 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/0.7346, allocations: 0 / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.7346, allocations: 0 / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001667/0.7348, allocations: 51.97 kB / 1.026 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006972/0.7355, allocations: 352.5 kB / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002509/0.7358, allocations: 82.67 kB / 1.026 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.7359, allocations: 48.78 kB / 1.026 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.912e-05/0.7359, allocations: 0 / 1.026 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002959/0.7362, allocations: 107.3 kB / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.573e-06/0.7362, allocations: 0 / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.0004964/0.7367, allocations: 181.5 kB / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.584e-05/0.7368, allocations: 59.34 kB / 1.026 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.737, allocations: 136.4 kB / 1.027 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.628e-05/0.737, allocations: 25.7 kB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.974e-05/0.7371, allocations: 96.12 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.937e-05/0.7371, allocations: 27.64 kB / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.037e-05/0.7372, allocations: 4 kB / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001757/0.7373, allocations: 326.8 kB / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.434e-05/0.7374, allocations: 35.92 kB / 1.027 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000125/0.7376, allocations: 73.12 kB / 1.027 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.178e-05/0.7377, allocations: 32 kB / 1.027 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.7377, allocations: 0 / 1.027 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002636/0.7379, allocations: 145.4 kB / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.738, allocations: 8 kB / 1.027 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.738, allocations: 0 / 1.027 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.738, allocations: 4 kB / 1.027 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000139/0.7381, allocations: 24.02 kB / 1.027 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.7382, allocations: 0 / 1.027 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.917e-05/0.7383, allocations: 19.89 kB / 1.027 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.688e-05/0.7383, allocations: 8 kB / 1.027 GB, free: 10.73 MB / 0.7794 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 ($PRE.lig.curSeed,lig.curSeed,$PRE.lig.on,lig.on,$whenCondition3,$whenCondition2,lig.sampleTrigger,$whenCondition1,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001136/0.7384, allocations: 123.4 kB / 1.027 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.042e-05/0.7384, allocations: 15.83 kB / 1.027 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003857/0.7388, allocations: 170.3 kB / 1.028 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.7388, allocations: 0 / 1.028 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.7389, allocations: 0 / 1.028 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.7389, allocations: 0 / 1.028 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006486/0.7395, allocations: 458.3 kB / 1.028 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.7395, allocations: 0 / 1.028 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.984e-05/0.7396, allocations: 16 kB / 1.028 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.7396, allocations: 0 / 1.028 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/0.7396, allocations: 7.984 kB / 1.028 GB, free: 9.879 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.7396, allocations: 0 / 1.028 GB, free: 9.879 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.7397, allocations: 0 / 1.028 GB, free: 9.879 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003407/0.74, allocations: 258.9 kB / 1.028 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.262e-05/0.7401, allocations: 84.95 kB / 1.028 GB, free: 9.512 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.717e-05/0.7401, allocations: 4 kB / 1.028 GB, free: 9.508 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.7402, allocations: 15.98 kB / 1.028 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.457e-05/0.7403, allocations: 7.984 kB / 1.028 GB, free: 9.484 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.756e-05/0.7403, allocations: 4 kB / 1.028 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.861e-05/0.7404, allocations: 107.2 kB / 1.029 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7404, allocations: 3.938 kB / 1.029 GB, free: 9.371 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000327/0.7407, allocations: 43.94 kB / 1.029 GB, free: 9.328 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003726/0.7411, allocations: 172.2 kB / 1.029 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002762/0.7414, allocations: 103.8 kB / 1.029 GB, free: 9.066 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.7414, allocations: 0 / 1.029 GB, free: 9.066 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001205/0.7415, allocations: 51.97 kB / 1.029 GB, free: 9.016 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003212/0.7418, allocations: 21.14 kB / 1.029 GB, free: 8.996 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005496/0.7424, allocations: 251.5 kB / 1.029 GB, free: 8.719 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003341/0.7427, allocations: 0.7004 MB / 1.03 GB, free: 7.992 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.288e-05/0.7428, allocations: 8.438 kB / 1.03 GB, free: 7.984 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.454e-05/0.7429, allocations: 19.42 kB / 1.03 GB, free: 7.965 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.7429, allocations: 3.938 kB / 1.03 GB, free: 7.961 MB / 0.7794 GB Notification: Performance of Templates: time 0.005205/0.7481, allocations: 1.759 MB / 1.032 GB, free: 6.207 MB / 0.7794 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/jenkins/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