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.0011/0.0011, allocations: 99.42 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001511/0.001511, allocations: 183 kB / 16.92 MB, free: 6.918 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.386/1.386, allocations: 223.3 MB / 241 MB, free: 5.238 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.664/2.664, allocations: 437.8 MB / 0.7128 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003718/0.0003721, allocations: 8 kB / 0.8735 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6651/0.6655, allocations: 153.8 MB / 1.024 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.001809/0.6674, allocations: 1.254 MB / 1.025 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001334/0.6688, allocations: 0.7441 MB / 1.026 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.274e-05/0.6688, allocations: 0 / 1.026 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.321e-05/0.6689, allocations: 3.984 kB / 1.026 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001006/0.669, allocations: 19.86 kB / 1.026 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005219/0.6695, allocations: 107.8 kB / 1.026 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001386/0.6697, allocations: 91.7 kB / 1.026 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.101e-05/0.6698, allocations: 15.94 kB / 1.026 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.6699, allocations: 35.89 kB / 1.026 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.448e-05/0.67, allocations: 39.83 kB / 1.026 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.67, allocations: 8 kB / 1.026 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001997/0.6702, allocations: 91.86 kB / 1.026 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.486e-05/0.6702, allocations: 23.89 kB / 1.026 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.196e-05/0.6703, allocations: 61.5 kB / 1.026 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001946/0.6705, allocations: 113.8 kB / 1.026 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.6705, allocations: 0 / 1.026 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6705, allocations: 0 / 1.026 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.018e-06/0.6705, allocations: 0 / 1.026 GB, free: 13.27 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.000736/0.6713, allocations: 492.2 kB / 1.027 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.6713, allocations: 8.031 kB / 1.027 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.033e-05/0.6714, allocations: 8.844 kB / 1.027 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.6715, allocations: 176.2 kB / 1.027 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.536e-05/0.6716, allocations: 12.36 kB / 1.027 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.167e-05/0.6716, allocations: 4.375 kB / 1.027 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002122/0.6718, allocations: 85.95 kB / 1.027 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.6718, allocations: 4 kB / 1.027 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.6719, allocations: 4 kB / 1.027 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.6719, allocations: 4 kB / 1.027 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001614/0.672, allocations: 47.97 kB / 1.027 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005761/0.6726, allocations: 348.5 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002223/0.6729, allocations: 86.66 kB / 1.027 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.832e-05/0.673, allocations: 44.83 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.673, allocations: 0 / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002293/0.6732, allocations: 103.4 kB / 1.028 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.493e-06/0.6732, allocations: 0 / 1.028 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.0004407/0.6737, allocations: 181.5 kB / 1.028 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/0.6737, allocations: 63.33 kB / 1.028 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.6739, allocations: 136.4 kB / 1.028 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.6739, allocations: 25.7 kB / 1.028 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.392e-05/0.6739, allocations: 96.05 kB / 1.028 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.94e-05/0.674, allocations: 27.64 kB / 1.028 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.293e-05/0.674, allocations: 17.72 kB / 1.028 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.99e-05/0.6741, allocations: 334.7 kB / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.423e-05/0.6742, allocations: 31.98 kB / 1.028 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/0.6743, allocations: 69.12 kB / 1.029 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000187/0.6745, allocations: 113.1 kB / 1.029 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.6745, allocations: 0 / 1.029 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002783/0.6748, allocations: 137.4 kB / 1.029 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.6748, allocations: 4 kB / 1.029 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.6748, allocations: 0 / 1.029 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.6749, allocations: 7.984 kB / 1.029 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.675, allocations: 24.03 kB / 1.029 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.675, allocations: 7.984 kB / 1.029 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001077/0.6751, allocations: 11.91 kB / 1.029 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.6751, allocations: 4 kB / 1.029 GB, free: 10.33 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 (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.0001038/0.6752, allocations: 135.9 kB / 1.029 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.142e-05/0.6753, allocations: 7.906 kB / 1.029 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003504/0.6756, allocations: 172.6 kB / 1.029 GB, free: 10 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.6756, allocations: 4 kB / 1.029 GB, free: 10 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.6757, allocations: 0 / 1.029 GB, free: 10 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.6757, allocations: 0 / 1.029 GB, free: 10 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005949/0.6763, allocations: 462.5 kB / 1.03 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.6763, allocations: 0 / 1.03 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.562e-05/0.6764, allocations: 19.97 kB / 1.03 GB, free: 9.473 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.6764, allocations: 0 / 1.03 GB, free: 9.473 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.6764, allocations: 4 kB / 1.03 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.6764, allocations: 4 kB / 1.03 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.6764, allocations: 3.938 kB / 1.03 GB, free: 9.461 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003071/0.6767, allocations: 247.2 kB / 1.03 GB, free: 9.203 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.194e-05/0.6768, allocations: 85.02 kB / 1.03 GB, free: 9.102 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/0.6768, allocations: 4 kB / 1.03 GB, free: 9.098 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/0.6769, allocations: 11.98 kB / 1.03 GB, free: 9.086 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.435e-05/0.677, allocations: 15.92 kB / 1.03 GB, free: 9.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.818e-05/0.677, allocations: 7.984 kB / 1.03 GB, free: 9.062 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.997e-05/0.6771, allocations: 105.8 kB / 1.03 GB, free: 8.961 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6771, allocations: 0 / 1.03 GB, free: 8.961 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003208/0.6774, allocations: 43.94 kB / 1.03 GB, free: 8.918 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 (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.0003514/0.6778, allocations: 161.9 kB / 1.03 GB, free: 8.766 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002578/0.678, allocations: 110.5 kB / 1.03 GB, free: 8.66 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.678, allocations: 0 / 1.03 GB, free: 8.66 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001224/0.6782, allocations: 51.97 kB / 1.03 GB, free: 8.609 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003076/0.6785, allocations: 17.88 kB / 1.03 GB, free: 8.594 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004997/0.679, allocations: 285.2 kB / 1.031 GB, free: 8.277 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002393/0.6792, allocations: 0.7004 MB / 1.031 GB, free: 7.551 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.193e-05/0.6793, allocations: 15.44 kB / 1.031 GB, free: 7.539 MB / 0.7794 GB Notification: Performance of SimCode: time 2.81e-07/0.6793, allocations: 0 / 1.031 GB, free: 7.539 MB / 0.7794 GB Notification: Performance of Templates: time 0.003989/0.6833, allocations: 1.909 MB / 1.033 GB, free: 5.633 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/jenkins1/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