Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.004799/0.004799, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001228/0.001228, allocations: 195.8 kB / 16.79 MB, free: 5.809 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.356/1.356, allocations: 222.9 MB / 240.5 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.449/2.449, allocations: 390.2 MB / 0.6649 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 63.91 kB / 0.8125 GB, free: 14.85 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.635/0.6365, allocations: 140.4 MB / 0.9496 GB, free: 9.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.002953/0.6395, allocations: 1.584 MB / 0.9511 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00137/0.6409, allocations: 0.756 MB / 0.9519 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.001e-05/0.6409, allocations: 0 / 0.9519 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.372e-05/0.641, allocations: 3.984 kB / 0.9519 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001109/0.6411, allocations: 14.61 kB / 0.9519 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005763/0.6417, allocations: 110 kB / 0.952 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001475/0.6419, allocations: 95.17 kB / 0.9521 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.642, allocations: 26.66 kB / 0.9521 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001264/0.6421, allocations: 32.88 kB / 0.9521 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.585e-05/0.6422, allocations: 53.22 kB / 0.9522 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.949e-05/0.6423, allocations: 4.094 kB / 0.9522 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002611/0.6425, allocations: 91.34 kB / 0.9523 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.733e-05/0.6426, allocations: 18.86 kB / 0.9523 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.27e-05/0.6427, allocations: 36.48 kB / 0.9523 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002379/0.6429, allocations: 111.2 kB / 0.9524 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.6429, allocations: 0 / 0.9524 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.263e-06/0.6429, allocations: 0 / 0.9524 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.6429, allocations: 0 / 0.9524 GB, free: 6.895 MB / 0.7169 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.0008584/0.6438, allocations: 499.5 kB / 0.9529 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.558e-05/0.6439, allocations: 10.06 kB / 0.9529 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.578e-05/0.6439, allocations: 12.5 kB / 0.9529 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.6441, allocations: 187.8 kB / 0.9531 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.602e-05/0.6441, allocations: 10.83 kB / 0.9531 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.659e-05/0.6442, allocations: 9.5 kB / 0.9531 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000228/0.6444, allocations: 83.86 kB / 0.9532 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.6444, allocations: 0 / 0.9532 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.6444, allocations: 5.312 kB / 0.9532 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.6444, allocations: 1.094 kB / 0.9532 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001674/0.6446, allocations: 49.72 kB / 0.9533 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006/0.6452, allocations: 333.8 kB / 0.9536 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002524/0.6455, allocations: 82.08 kB / 0.9537 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.6456, allocations: 43.75 kB / 0.9537 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.027e-05/0.6456, allocations: 1.281 kB / 0.9537 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002798/0.6459, allocations: 93.89 kB / 0.9538 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.663e-06/0.6459, allocations: 5.188 kB / 0.9538 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.000509/0.6465, allocations: 174.9 kB / 0.954 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.134e-05/0.6465, allocations: 57.77 kB / 0.954 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.6466, allocations: 138.4 kB / 0.9542 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.6467, allocations: 31.23 kB / 0.9542 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.834e-05/0.6467, allocations: 88.45 kB / 0.9543 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.65e-05/0.6467, allocations: 30.38 kB / 0.9543 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.476e-05/0.6468, allocations: 41.3 kB / 0.9543 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.319e-05/0.6469, allocations: 321.4 kB / 0.9546 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.168e-05/0.6469, allocations: 31.66 kB / 0.9547 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.268e-05/0.647, allocations: 68.64 kB / 0.9547 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001733/0.6472, allocations: 111.6 kB / 0.9548 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.6472, allocations: 1.406 kB / 0.9548 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002492/0.6475, allocations: 139.3 kB / 0.955 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.6475, allocations: 7.594 kB / 0.955 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.6475, allocations: 1.094 kB / 0.955 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.6475, allocations: 6.188 kB / 0.955 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.6477, allocations: 20.11 kB / 0.955 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.425e-06/0.6477, allocations: 1.906 kB / 0.955 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.6478, allocations: 14.92 kB / 0.955 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/0.6478, allocations: 8.312 kB / 0.955 GB, free: 4.477 MB / 0.7169 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 7.493e-05/0.6479, allocations: 125.7 kB / 0.9552 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.464e-05/0.6479, allocations: 8.594 kB / 0.9552 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003201/0.6482, allocations: 171.7 kB / 0.9553 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.6483, allocations: 1.031 kB / 0.9553 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.6483, allocations: 0.8125 kB / 0.9553 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.6483, allocations: 0 / 0.9553 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005167/0.6488, allocations: 447.3 kB / 0.9558 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.6488, allocations: 1.094 kB / 0.9558 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.354e-05/0.6489, allocations: 20.3 kB / 0.9558 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.6489, allocations: 1.062 kB / 0.9558 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.6489, allocations: 1.219 kB / 0.9558 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.6489, allocations: 5.141 kB / 0.9558 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.6489, allocations: 9.266 kB / 0.9558 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002757/0.6492, allocations: 242 kB / 0.956 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.738e-05/0.6493, allocations: 88.02 kB / 0.9561 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.6e-05/0.6493, allocations: 1.156 kB / 0.9561 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.6494, allocations: 17.05 kB / 0.9561 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.375e-05/0.6495, allocations: 12.77 kB / 0.9561 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-05/0.6495, allocations: 4.688 kB / 0.9561 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.13e-05/0.6496, allocations: 100.4 kB / 0.9562 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6496, allocations: 0 / 0.9562 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003538/0.6499, allocations: 48.52 kB / 0.9563 GB, free: 3.402 MB / 0.7169 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.0003599/0.6503, allocations: 169.3 kB / 0.9564 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002696/0.6506, allocations: 94.61 kB / 0.9565 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.6506, allocations: 0 / 0.9565 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001299/0.6507, allocations: 55.75 kB / 0.9566 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003178/0.651, allocations: 19.55 kB / 0.9566 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004703/0.6515, allocations: 271.1 kB / 0.9569 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001103/0.6516, allocations: 0.7025 MB / 0.9576 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.447e-05/0.6517, allocations: 12.78 kB / 0.9576 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of SimCode: time 3.01e-07/0.6517, allocations: 0 / 0.9576 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of Templates: time 0.003956/0.6557, allocations: 1.909 MB / 0.9594 GB, free: 1.281 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.sim & ./Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches