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.001286/0.001286, allocations: 102.2 kB / 16.35 MB, free: 5.887 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.0014/0.0014, allocations: 189.8 kB / 17.29 MB, free: 5.527 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.405/1.405, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.289/2.289, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 69.59 kB / 0.814 GB, free: 32.75 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3533/0.3547, allocations: 140.4 MB / 0.9511 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002455/0.3572, allocations: 0.7314 MB / 0.9518 GB, free: 7.34 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002295/0.3595, allocations: 1.527 MB / 0.9533 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.093e-05/0.3596, allocations: 3.938 kB / 0.9533 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.733e-05/0.3597, allocations: 11.92 kB / 0.9533 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001809/0.3599, allocations: 19.8 kB / 0.9534 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004452/0.3604, allocations: 155.5 kB / 0.9535 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001621/0.3605, allocations: 119.6 kB / 0.9536 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.3606, allocations: 15.98 kB / 0.9536 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001329/0.3608, allocations: 51.83 kB / 0.9537 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.3609, allocations: 55.83 kB / 0.9537 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.558e-05/0.3609, allocations: 12 kB / 0.9537 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001939/0.3611, allocations: 91.92 kB / 0.9538 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.199e-05/0.3612, allocations: 31.89 kB / 0.9539 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.944e-05/0.3613, allocations: 43.8 kB / 0.9539 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003062/0.3616, allocations: 199.4 kB / 0.9541 GB, free: 5 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.3616, allocations: 0 / 0.9541 GB, free: 5 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.056e-06/0.3616, allocations: 0 / 0.9541 GB, free: 5 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.3616, allocations: 0 / 0.9541 GB, free: 5 MB / 0.7325 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.0008201/0.3624, allocations: 431 kB / 0.9545 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.3625, allocations: 12.03 kB / 0.9545 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.554e-05/0.3625, allocations: 8.844 kB / 0.9545 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.3627, allocations: 176.3 kB / 0.9547 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.735e-05/0.3628, allocations: 34.27 kB / 0.9547 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.681e-05/0.3628, allocations: 12.38 kB / 0.9547 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002117/0.3631, allocations: 104.3 kB / 0.9548 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.3631, allocations: 0 / 0.9548 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.3631, allocations: 4 kB / 0.9548 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.3631, allocations: 0 / 0.9548 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001079/0.3632, allocations: 47.92 kB / 0.9549 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006838/0.3639, allocations: 0.5165 MB / 0.9554 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004701/0.3644, allocations: 143.7 kB / 0.9555 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.145e-05/0.3645, allocations: 42.59 kB / 0.9556 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.194e-05/0.3645, allocations: 11.94 kB / 0.9556 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002278/0.3648, allocations: 110 kB / 0.9557 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 1.493e-06/0.3648, allocations: 0 / 0.9557 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.000348/0.3651, allocations: 141.4 kB / 0.9558 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.595e-05/0.3652, allocations: 114.8 kB / 0.9559 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.3653, allocations: 125.8 kB / 0.9561 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.3654, allocations: 29.7 kB / 0.9561 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.008e-05/0.3654, allocations: 92.31 kB / 0.9562 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.158e-05/0.3655, allocations: 27.66 kB / 0.9562 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.539e-05/0.3656, allocations: 37.83 kB / 0.9562 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.3657, allocations: 326.8 kB / 0.9565 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001038/0.3658, allocations: 35.92 kB / 0.9566 GB, free: 2.168 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.406e-05/0.3659, allocations: 35.98 kB / 0.9566 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001679/0.3661, allocations: 79.78 kB / 0.9567 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3661, allocations: 3.938 kB / 0.9567 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002442/0.3663, allocations: 129.5 kB / 0.9568 GB, free: 1.918 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.3664, allocations: 4 kB / 0.9568 GB, free: 1.914 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.3664, allocations: 8 kB / 0.9568 GB, free: 1.906 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.3664, allocations: 0 / 0.9568 GB, free: 1.906 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.3665, allocations: 19.98 kB / 0.9568 GB, free: 1.887 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.3666, allocations: 3.984 kB / 0.9568 GB, free: 1.883 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.239e-05/0.3666, allocations: 15.78 kB / 0.9569 GB, free: 1.867 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.766e-05/0.3667, allocations: 11.94 kB / 0.9569 GB, free: 1.855 MB / 0.7325 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.0001027/0.3668, allocations: 124.8 kB / 0.957 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.585e-05/0.3668, allocations: 7.906 kB / 0.957 GB, free: 1.719 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002562/0.3671, allocations: 114.2 kB / 0.9571 GB, free: 1.602 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.3671, allocations: 4 kB / 0.9571 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.3671, allocations: 4.062 kB / 0.9571 GB, free: 1.594 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.767e-06/0.3671, allocations: 7.984 kB / 0.9571 GB, free: 1.586 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002158/0.3673, allocations: 221.4 kB / 0.9573 GB, free: 1.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3673, allocations: 0 / 0.9573 GB, free: 1.32 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.135e-05/0.3674, allocations: 16 kB / 0.9574 GB, free: 1.305 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.3674, allocations: 0 / 0.9574 GB, free: 1.305 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.771e-05/0.3675, allocations: 11.98 kB / 0.9574 GB, free: 1.293 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.292e-06/0.3675, allocations: 4 kB / 0.9574 GB, free: 1.289 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3675, allocations: 3.938 kB / 0.9574 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000258/0.3678, allocations: 170.8 kB / 0.9575 GB, free: 1.094 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.689e-05/0.3678, allocations: 104.9 kB / 0.9576 GB, free: 0.9727 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.76e-05/0.3679, allocations: 8 kB / 0.9576 GB, free: 0.9648 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.725e-05/0.368, allocations: 15.98 kB / 0.9577 GB, free: 0.9492 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.603e-05/0.368, allocations: 11.92 kB / 0.9577 GB, free: 0.9375 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.368, allocations: 4 kB / 0.9577 GB, free: 0.9336 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.546e-05/0.3681, allocations: 99.27 kB / 0.9578 GB, free: 0.8359 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.3681, allocations: 0 / 0.9578 GB, free: 0.8359 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000303/0.3684, allocations: 55.94 kB / 0.9578 GB, free: 0.7812 MB / 0.7325 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.000256/0.3687, allocations: 155.1 kB / 0.958 GB, free: 0.6172 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002474/0.369, allocations: 106.3 kB / 0.9581 GB, free: 0.5156 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.369, allocations: 0 / 0.9581 GB, free: 0.5156 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.621e-05/0.3691, allocations: 51.92 kB / 0.9581 GB, free: 476 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002285/0.3693, allocations: 13.7 kB / 0.9581 GB, free: 464 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004958/0.3698, allocations: 233.2 kB / 0.9584 GB, free: 192 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003871/0.3702, allocations: 0.7155 MB / 0.9591 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 6.367e-05/0.3703, allocations: 12.44 kB / 0.9591 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.732e-05/0.3703, allocations: 23.36 kB / 0.9591 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of SimCode: time 2.11e-07/0.3703, allocations: 0 / 0.9591 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of Templates: time 0.004704/0.375, allocations: 1.718 MB / 0.9608 GB, free: 13.7 MB / 0.7481 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 -s cvode -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/jenkins1/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