Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dayCon.y",fileNamePrefix="Buildings_9_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_9_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.001568/0.001568, allocations: 109.3 kB / 15.7 MB, free: 128 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.001721/0.001721, allocations: 195.2 kB / 16.63 MB, free: 6.613 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.525/1.525, allocations: 222.9 MB / 240.3 MB, free: 4.348 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.633/2.633, allocations: 390.3 MB / 0.6648 GB, free: 120 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 61.22 kB / 0.9508 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3508/0.3521, allocations: 140.4 MB / 1.088 GB, free: 1.438 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.001983/0.3541, allocations: 0.7161 MB / 1.089 GB, free: 0.7188 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001951/0.3561, allocations: 1.53 MB / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.598e-05/0.3561, allocations: 0 / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.088e-05/0.3562, allocations: 7.875 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000201/0.3564, allocations: 27.84 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004565/0.3569, allocations: 158 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000154/0.357, allocations: 115.7 kB / 1.09 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.3571, allocations: 15.98 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001156/0.3573, allocations: 47.84 kB / 1.091 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.3574, allocations: 47.83 kB / 1.091 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.589e-05/0.3574, allocations: 19.94 kB / 1.091 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001894/0.3576, allocations: 103.9 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.484e-05/0.3577, allocations: 27.91 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.031e-05/0.3577, allocations: 43.8 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002876/0.358, allocations: 191.5 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.358, allocations: 0 / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.044e-06/0.358, allocations: 0 / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.3581, allocations: 0 / 1.091 GB, free: 14.38 MB / 0.8575 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.0007611/0.3588, allocations: 431.1 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.3589, allocations: 12.03 kB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.21e-05/0.3589, allocations: 12.84 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000169/0.3591, allocations: 184.1 kB / 1.092 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.186e-05/0.3592, allocations: 38.25 kB / 1.092 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.595e-05/0.3592, allocations: 8.375 kB / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/0.3594, allocations: 108.3 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.3594, allocations: 0 / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.3594, allocations: 4 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.3595, allocations: 0 / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001159/0.3596, allocations: 51.91 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006835/0.3603, allocations: 0.5165 MB / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004934/0.3608, allocations: 135.7 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.111e-05/0.3609, allocations: 38.58 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.652e-05/0.3609, allocations: 8.078 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002835/0.3612, allocations: 117.9 kB / 1.093 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.583e-06/0.3612, allocations: 0 / 1.093 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.00037/0.3616, allocations: 145.5 kB / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.285e-05/0.3617, allocations: 106.8 kB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.3618, allocations: 125.8 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/0.3618, allocations: 29.7 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.842e-05/0.3619, allocations: 88.33 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.373e-05/0.3619, allocations: 31.55 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.349e-05/0.362, allocations: 37.7 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.3622, allocations: 334.8 kB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.575e-05/0.3623, allocations: 31.98 kB / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.503e-05/0.3623, allocations: 38.94 kB / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001717/0.3625, allocations: 84.66 kB / 1.094 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.3625, allocations: 0 / 1.094 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002464/0.3628, allocations: 125.6 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.3628, allocations: 4 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.3628, allocations: 4 kB / 1.094 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.3628, allocations: 4 kB / 1.094 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00013/0.363, allocations: 23.92 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.363, allocations: 4 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/0.3631, allocations: 11.92 kB / 1.094 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.488e-05/0.3631, allocations: 7.938 kB / 1.094 GB, free: 11.23 MB / 0.8575 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.0001383/0.3633, allocations: 117.8 kB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.635e-05/0.3633, allocations: 7.906 kB / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003087/0.3636, allocations: 126 kB / 1.094 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-06/0.3636, allocations: 4 kB / 1.094 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.3637, allocations: 320 / 1.094 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.3637, allocations: 0 / 1.094 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002613/0.3639, allocations: 221.5 kB / 1.094 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.364, allocations: 8 kB / 1.094 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.575e-05/0.3641, allocations: 19.92 kB / 1.094 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.3641, allocations: 4 kB / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.3641, allocations: 0 / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.3641, allocations: 8 kB / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-05/0.3641, allocations: 3.984 kB / 1.094 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002886/0.3644, allocations: 172.8 kB / 1.094 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/0.3645, allocations: 100.9 kB / 1.094 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.431e-05/0.3646, allocations: 8 kB / 1.094 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.749e-05/0.3647, allocations: 4 kB / 1.094 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.261e-05/0.3648, allocations: 23.86 kB / 1.094 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.3648, allocations: 7.984 kB / 1.095 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.298e-05/0.3649, allocations: 99.27 kB / 1.095 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.6e-07/0.3649, allocations: 0 / 1.095 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003879/0.3653, allocations: 59.84 kB / 1.095 GB, free: 10.14 MB / 0.8575 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.0003498/0.3656, allocations: 155.6 kB / 1.095 GB, free: 9.984 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003113/0.366, allocations: 99.89 kB / 1.095 GB, free: 9.887 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.366, allocations: 4 kB / 1.095 GB, free: 9.883 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001059/0.3661, allocations: 51.92 kB / 1.095 GB, free: 9.832 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002684/0.3664, allocations: 8 kB / 1.095 GB, free: 9.824 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005805/0.367, allocations: 247.6 kB / 1.095 GB, free: 9.547 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000355/0.3673, allocations: 0.704 MB / 1.096 GB, free: 8.816 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.737e-05/0.3674, allocations: 12.55 kB / 1.096 GB, free: 8.805 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.868e-05/0.3675, allocations: 23.42 kB / 1.096 GB, free: 8.785 MB / 0.8575 GB Notification: Performance of SimCode: time 4.91e-07/0.3675, allocations: 0 / 1.096 GB, free: 8.785 MB / 0.8575 GB Notification: Performance of Templates: time 0.005165/0.3726, allocations: 1.726 MB / 1.098 GB, free: 7.07 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile (rm -f Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & ./Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches