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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001323/0.001323, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001614/0.001614, allocations: 198.1 kB / 16.14 MB, free: 6.719 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.343/1.343, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.495/2.495, allocations: 390.2 MB / 0.6642 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 59.91 kB / 0.8118 GB, free: 14.91 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6404/0.6417, allocations: 140.4 MB / 0.9489 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.002535/0.6443, allocations: 1.587 MB / 0.9505 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00127/0.6456, allocations: 0.7591 MB / 0.9512 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.38e-05/0.6456, allocations: 1.312 kB / 0.9512 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.61e-05/0.6457, allocations: 3.938 kB / 0.9512 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000104/0.6458, allocations: 14.53 kB / 0.9512 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004649/0.6463, allocations: 109.3 kB / 0.9513 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001312/0.6464, allocations: 95.22 kB / 0.9514 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.6465, allocations: 14.86 kB / 0.9514 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001042/0.6466, allocations: 37.09 kB / 0.9515 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.198e-05/0.6467, allocations: 49.72 kB / 0.9515 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.175e-05/0.6467, allocations: 3.781 kB / 0.9515 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001917/0.6469, allocations: 95.25 kB / 0.9516 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.077e-05/0.647, allocations: 19.55 kB / 0.9516 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.932e-05/0.647, allocations: 39.53 kB / 0.9517 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002357/0.6473, allocations: 151.7 kB / 0.9518 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.6473, allocations: 0 / 0.9518 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.02e-07/0.6473, allocations: 5.656 kB / 0.9518 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.6473, allocations: 0 / 0.9518 GB, free: 6.945 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.0007023/0.648, allocations: 0.4907 MB / 0.9523 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.6481, allocations: 10.12 kB / 0.9523 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.48e-05/0.6481, allocations: 7.938 kB / 0.9523 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.6483, allocations: 183.7 kB / 0.9525 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.6483, allocations: 6.625 kB / 0.9525 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.16e-05/0.6483, allocations: 4.469 kB / 0.9525 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002003/0.6485, allocations: 88.55 kB / 0.9526 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.6486, allocations: 0 / 0.9526 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.6486, allocations: 1.312 kB / 0.9526 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.6486, allocations: 1.375 kB / 0.9526 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001577/0.6487, allocations: 50.81 kB / 0.9526 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005483/0.6493, allocations: 336.7 kB / 0.953 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002231/0.6495, allocations: 82.27 kB / 0.953 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.43e-05/0.6496, allocations: 42.81 kB / 0.9531 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.6497, allocations: 1.312 kB / 0.9531 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002588/0.6499, allocations: 98.69 kB / 0.9532 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.653e-06/0.6499, allocations: 1.094 kB / 0.9532 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0004625/0.6504, allocations: 183 kB / 0.9533 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/0.6505, allocations: 57.47 kB / 0.9534 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.6506, allocations: 135.2 kB / 0.9535 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.6506, allocations: 30.77 kB / 0.9536 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.9e-05/0.6507, allocations: 91.48 kB / 0.9536 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.161e-05/0.6507, allocations: 32 kB / 0.9537 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.705e-05/0.6508, allocations: 31.73 kB / 0.9537 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.353e-05/0.6508, allocations: 325 kB / 0.954 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.583e-05/0.6509, allocations: 28.55 kB / 0.954 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.695e-05/0.651, allocations: 71.69 kB / 0.9541 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001771/0.6512, allocations: 115.9 kB / 0.9542 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.6512, allocations: 1.531 kB / 0.9542 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002523/0.6515, allocations: 134.7 kB / 0.9544 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.6515, allocations: 6.531 kB / 0.9544 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.6515, allocations: 1.625 kB / 0.9544 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.6515, allocations: 1.656 kB / 0.9544 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.6516, allocations: 16.33 kB / 0.9544 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.6517, allocations: 9.375 kB / 0.9544 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001039/0.6518, allocations: 18.98 kB / 0.9544 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/0.6518, allocations: 8.719 kB / 0.9544 GB, free: 4.527 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 8.239e-05/0.6519, allocations: 120.7 kB / 0.9545 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.32e-05/0.6519, allocations: 11.94 kB / 0.9545 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003908/0.6523, allocations: 174.4 kB / 0.9547 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.6523, allocations: 2.219 kB / 0.9547 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.6523, allocations: 0 / 0.9547 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.6523, allocations: 4 kB / 0.9547 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005759/0.6529, allocations: 448 kB / 0.9551 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.6529, allocations: 4 kB / 0.9551 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/0.653, allocations: 12.78 kB / 0.9552 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.6531, allocations: 0.8438 kB / 0.9552 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.6531, allocations: 6.172 kB / 0.9552 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.6531, allocations: 0 / 0.9552 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.6531, allocations: 9.094 kB / 0.9552 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002966/0.6534, allocations: 235.2 kB / 0.9554 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.777e-05/0.6534, allocations: 83.39 kB / 0.9555 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.587e-05/0.6535, allocations: 1.156 kB / 0.9555 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/0.6536, allocations: 12.8 kB / 0.9555 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.421e-05/0.6536, allocations: 12.98 kB / 0.9555 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.932e-05/0.6537, allocations: 3.938 kB / 0.9555 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.929e-05/0.6537, allocations: 114.2 kB / 0.9556 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6537, allocations: 0 / 0.9556 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003445/0.6541, allocations: 45.44 kB / 0.9557 GB, free: 3.461 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.0003502/0.6544, allocations: 164.6 kB / 0.9558 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002645/0.6547, allocations: 97.77 kB / 0.9559 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.6547, allocations: 1.562 kB / 0.9559 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001239/0.6549, allocations: 54.22 kB / 0.956 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000324/0.6552, allocations: 24.58 kB / 0.956 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000463/0.6557, allocations: 238.8 kB / 0.9562 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001222/0.6558, allocations: 0.702 MB / 0.9569 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.107e-05/0.6558, allocations: 8.031 kB / 0.9569 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.04e-05/0.6559, allocations: 18.23 kB / 0.9569 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of SimCode: time 2.51e-07/0.6559, allocations: 0 / 0.9569 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of Templates: time 0.004709/0.6606, allocations: 1.815 MB / 0.9587 GB, free: 1.418 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/jenkins/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