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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001122/0.001122, allocations: 108 kB / 15.61 MB, free: 152 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.001223/0.001223, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.374/1.374, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.568/2.568, allocations: 437 MB / 0.7103 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 67.89 kB / 0.8692 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.663/0.6645, allocations: 151.6 MB / 1.017 GB, free: 2.527 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.003524/0.668, allocations: 1.528 MB / 1.019 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001544/0.6696, allocations: 0.7556 MB / 1.019 GB, free: 232 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.901e-05/0.6697, allocations: 0 / 1.019 GB, free: 232 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 5.311e-05/0.6698, allocations: 7.875 kB / 1.019 GB, free: 224 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001352/0.67, allocations: 15.84 kB / 1.02 GB, free: 208 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007889/0.6708, allocations: 135.5 kB / 1.02 GB, free: 72 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001879/0.671, allocations: 95.7 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001449/0.6711, allocations: 19.97 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001539/0.6713, allocations: 35.86 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/0.6714, allocations: 51.81 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.891e-05/0.6715, allocations: 8 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002509/0.6717, allocations: 95.91 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.582e-05/0.6718, allocations: 23.91 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.965e-05/0.6718, allocations: 39.8 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003108/0.6722, allocations: 161.5 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.6722, allocations: 0 / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of FrontEnd: time 4.689e-06/0.6722, allocations: 0 / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.357e-06/0.6722, allocations: 7.938 kB / 1.02 GB, free: 15.54 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.0008504/0.6731, allocations: 496.2 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.6731, allocations: 8.031 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.432e-05/0.6732, allocations: 12.84 kB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/0.6733, allocations: 182 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/0.6734, allocations: 8.375 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.102e-05/0.6734, allocations: 4.375 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002091/0.6736, allocations: 85.83 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.6736, allocations: 0 / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.672e-05/0.6736, allocations: 8 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.6737, allocations: 0 / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000149/0.6738, allocations: 47.95 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005669/0.6744, allocations: 340.6 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002083/0.6746, allocations: 78.67 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.05e-05/0.6747, allocations: 44.81 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.6747, allocations: 4 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002448/0.675, allocations: 99.36 kB / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.473e-06/0.675, allocations: 3.938 kB / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.0004183/0.6754, allocations: 177.8 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.479e-05/0.6755, allocations: 51.41 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.991e-05/0.6756, allocations: 134.1 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.6756, allocations: 33.7 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.325e-05/0.6757, allocations: 92.12 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.636e-05/0.6757, allocations: 23.66 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.787e-05/0.6758, allocations: 33.7 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.885e-05/0.6759, allocations: 326.8 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.849e-05/0.676, allocations: 27.98 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.973e-05/0.6761, allocations: 78.75 kB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001742/0.6762, allocations: 105 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.6762, allocations: 0 / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002456/0.6765, allocations: 149.3 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.6765, allocations: 5.875 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.6765, allocations: 4 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.6766, allocations: 0 / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.6767, allocations: 19.92 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.6767, allocations: 7.938 kB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.29e-05/0.6768, allocations: 4 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.641e-05/0.6768, allocations: 15.98 kB / 1.023 GB, free: 12.61 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 9.047e-05/0.6769, allocations: 123.9 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.034e-05/0.6769, allocations: 7.906 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003339/0.6773, allocations: 170.2 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.6773, allocations: 0 / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.6773, allocations: 0 / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.6773, allocations: 3.984 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005795/0.6779, allocations: 450.2 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.6779, allocations: 8 kB / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.146e-05/0.678, allocations: 15.98 kB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.678, allocations: 0 / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.678, allocations: 0 / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.114e-06/0.678, allocations: 4 kB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.678, allocations: 3.938 kB / 1.024 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002894/0.6783, allocations: 243.4 kB / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.504e-05/0.6783, allocations: 81.02 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.892e-05/0.6784, allocations: 7.984 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.6785, allocations: 11.94 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.056e-05/0.6786, allocations: 11.92 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.6786, allocations: 7.984 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.195e-05/0.6787, allocations: 100.1 kB / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6787, allocations: 4 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003019/0.679, allocations: 47.94 kB / 1.024 GB, free: 11.23 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.0003159/0.6793, allocations: 165.9 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002605/0.6796, allocations: 103.8 kB / 1.024 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.6796, allocations: 4.188 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001097/0.6797, allocations: 49.11 kB / 1.024 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002985/0.68, allocations: 21.33 kB / 1.024 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004679/0.6805, allocations: 220 kB / 1.025 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002512/0.6807, allocations: 0.6963 MB / 1.025 GB, free: 9.934 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.843e-05/0.6808, allocations: 8.422 kB / 1.025 GB, free: 9.926 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.746e-05/0.6808, allocations: 15.44 kB / 1.025 GB, free: 9.91 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.6808, allocations: 4 kB / 1.025 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of Templates: time 0.006323/0.6872, allocations: 1.963 MB / 1.027 GB, free: 7.957 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