Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dayCon.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dayCon.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001087, allocations: 100.1 kB / 15.88 MB, free: 12 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.001232/0.001231, allocations: 200.5 kB / 16.79 MB, free: 6.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.426/1.426, allocations: 222.9 MB / 240.5 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.68/2.68, allocations: 461.8 MB / 0.7348 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 65.33 kB / 0.899 GB, free: 37.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3524/0.3537, allocations: 157.4 MB / 1.053 GB, free: 8.301 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002436/0.3562, allocations: 0.7856 MB / 1.054 GB, free: 7.512 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002323/0.3585, allocations: 1.548 MB / 1.055 GB, free: 5.945 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.93e-05/0.3586, allocations: 4 kB / 1.055 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.859e-05/0.3587, allocations: 3.938 kB / 1.055 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002225/0.3589, allocations: 11.91 kB / 1.055 GB, free: 5.926 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005041/0.3594, allocations: 127.7 kB / 1.055 GB, free: 5.801 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001815/0.3596, allocations: 111.7 kB / 1.055 GB, free: 5.691 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.3598, allocations: 19.97 kB / 1.055 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001424/0.3599, allocations: 47.78 kB / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.36, allocations: 47.81 kB / 1.055 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.642e-05/0.3601, allocations: 4 kB / 1.055 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002097/0.3603, allocations: 79.95 kB / 1.055 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.847e-05/0.3603, allocations: 23.91 kB / 1.055 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.039e-05/0.3604, allocations: 35.8 kB / 1.056 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002583/0.3607, allocations: 151.9 kB / 1.056 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3607, allocations: 0 / 1.056 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of FrontEnd: time 6.51e-07/0.3607, allocations: 0 / 1.056 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.3607, allocations: 0 / 1.056 GB, free: 5.289 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000984/0.3617, allocations: 419.2 kB / 1.056 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.05e-05/0.3618, allocations: 12.03 kB / 1.056 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.234e-05/0.3619, allocations: 12.83 kB / 1.056 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002472/0.3621, allocations: 176.2 kB / 1.056 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001041/0.3622, allocations: 34.27 kB / 1.056 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.791e-05/0.3623, allocations: 4.375 kB / 1.056 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002583/0.3625, allocations: 108.3 kB / 1.056 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.3625, allocations: 0 / 1.056 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.223e-05/0.3626, allocations: 4 kB / 1.056 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.3626, allocations: 0 / 1.056 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001363/0.3627, allocations: 47.91 kB / 1.056 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009512/0.3637, allocations: 0.5243 MB / 1.057 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005885/0.3643, allocations: 139.7 kB / 1.057 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.208e-05/0.3644, allocations: 38.66 kB / 1.057 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.728e-05/0.3644, allocations: 7.984 kB / 1.057 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003187/0.3647, allocations: 113.8 kB / 1.057 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=11): time 1.313e-06/0.3648, allocations: 7.938 kB / 1.057 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11): time 0.0004355/0.3652, allocations: 145.5 kB / 1.057 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.971e-05/0.3653, allocations: 106.8 kB / 1.057 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/0.3655, allocations: 121.8 kB / 1.058 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.772e-05/0.3655, allocations: 33.7 kB / 1.058 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.506e-05/0.3656, allocations: 88.33 kB / 1.058 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.243e-05/0.3656, allocations: 35.61 kB / 1.058 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.819e-05/0.3657, allocations: 37.83 kB / 1.058 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.3659, allocations: 330.8 kB / 1.058 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001044/0.366, allocations: 35.92 kB / 1.058 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.442e-05/0.3661, allocations: 36.23 kB / 1.058 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001741/0.3663, allocations: 74.95 kB / 1.058 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/0.3663, allocations: 4 kB / 1.058 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002646/0.3665, allocations: 129.5 kB / 1.058 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.3666, allocations: 4 kB / 1.058 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3666, allocations: 0 / 1.058 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.3666, allocations: 8 kB / 1.058 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.3667, allocations: 23.92 kB / 1.058 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.3668, allocations: 4 kB / 1.058 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.017e-05/0.3669, allocations: 7.938 kB / 1.058 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.047e-05/0.3669, allocations: 11.92 kB / 1.058 GB, free: 2.152 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (dayCon.not1.y,dayCon.sunRiseSet.nextSunSet,$PRE.dayCon.sunRiseSet.nextSunSet,dayCon.sunRiseSet.nextSunRise,$PRE.dayCon.sunRiseSet.nextSunRise,$whenCondition1,$whenCondition2) * 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.0001144/0.367, allocations: 122.6 kB / 1.059 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.551e-05/0.367, allocations: 7.906 kB / 1.059 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002497/0.3673, allocations: 118 kB / 1.059 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.3673, allocations: 4 kB / 1.059 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.3673, allocations: 0 / 1.059 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.3673, allocations: 0 / 1.059 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002203/0.3676, allocations: 221.4 kB / 1.059 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.3676, allocations: 4 kB / 1.059 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.744e-05/0.3677, allocations: 19.92 kB / 1.059 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.3677, allocations: 8 kB / 1.059 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.3677, allocations: 0 / 1.059 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.3677, allocations: 4 kB / 1.059 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3677, allocations: 0 / 1.059 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002617/0.368, allocations: 181.5 kB / 1.059 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.053e-05/0.3681, allocations: 101.2 kB / 1.059 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.869e-05/0.3681, allocations: 8 kB / 1.059 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.919e-05/0.3682, allocations: 7.984 kB / 1.059 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.506e-05/0.3683, allocations: 23.91 kB / 1.059 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/0.3683, allocations: 4 kB / 1.059 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.663e-05/0.3684, allocations: 102.3 kB / 1.059 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3684, allocations: 0 / 1.059 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003032/0.3687, allocations: 63.86 kB / 1.059 GB, free: 1.07 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,dayCon.sunRiseSet.nextSunRise,dayCon.sunRiseSet.nextSunSet,dayCon.not1.y) * Number of discrete states: 2 (dayCon.sunRiseSet.nextSunRise,dayCon.sunRiseSet.nextSunSet) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002567/0.3689, allocations: 147.2 kB / 1.06 GB, free: 0.918 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002566/0.3692, allocations: 99.97 kB / 1.06 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3692, allocations: 0 / 1.06 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.3693, allocations: 59.91 kB / 1.06 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002277/0.3696, allocations: 8 kB / 1.06 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005522/0.3701, allocations: 308.4 kB / 1.06 GB, free: 428 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003065/0.3704, allocations: 0.6965 MB / 1.061 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.554e-05/0.3705, allocations: 19.42 kB / 1.061 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of SimCode: time 5.11e-07/0.3705, allocations: 4 kB / 1.061 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of Templates: time 0.004147/0.3747, allocations: 1.791 MB / 1.062 GB, free: 13.89 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & ./Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches