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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.01068/0.01068, allocations: 98.25 kB / 15.73 MB, free: 5.551 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.002264/0.002264, allocations: 196.5 kB / 16.68 MB, free: 5.48 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.473/1.473, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.63/2.63, allocations: 390.2 MB / 0.6648 GB, free: 268 kB / 0.5138 GB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 61.75 kB / 0.9508 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3229, allocations: 140.4 MB / 1.088 GB, free: 1.551 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002222/0.3252, allocations: 0.7277 MB / 1.089 GB, free: 0.8203 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002126/0.3273, allocations: 1.526 MB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.871e-05/0.3274, allocations: 4 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.043e-05/0.3275, allocations: 7.922 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001942/0.3277, allocations: 19.8 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000421/0.3281, allocations: 155.5 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001616/0.3283, allocations: 115.7 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.3284, allocations: 15.98 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001445/0.3286, allocations: 59.83 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.823e-05/0.3287, allocations: 51.81 kB / 1.091 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.441e-05/0.3287, allocations: 8 kB / 1.091 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001888/0.3289, allocations: 99.88 kB / 1.091 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.375e-05/0.329, allocations: 31.89 kB / 1.091 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.03e-05/0.329, allocations: 47.8 kB / 1.091 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003016/0.3293, allocations: 195.3 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3294, allocations: 0 / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3294, allocations: 0 / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.719e-06/0.3294, allocations: 0 / 1.091 GB, free: 14.48 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.0007639/0.3301, allocations: 426.9 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.3302, allocations: 12.03 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.267e-05/0.3303, allocations: 12.89 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.3304, allocations: 176.3 kB / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.971e-05/0.3305, allocations: 42.14 kB / 1.092 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/0.3305, allocations: 8.312 kB / 1.092 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/0.3307, allocations: 109.5 kB / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.3307, allocations: 0 / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.3307, allocations: 0 / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.3308, allocations: 8 kB / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001083/0.3309, allocations: 47.91 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000656/0.3315, allocations: 0.5166 MB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004784/0.332, allocations: 139.8 kB / 1.092 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.403e-05/0.3321, allocations: 42.66 kB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.409e-05/0.3321, allocations: 4 kB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002098/0.3324, allocations: 121.8 kB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.382e-06/0.3324, allocations: 0 / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0003312/0.3327, allocations: 145.5 kB / 1.093 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.679e-05/0.3328, allocations: 110.9 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.3329, allocations: 121.8 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.3329, allocations: 25.7 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.573e-05/0.333, allocations: 92.41 kB / 1.093 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.223e-05/0.333, allocations: 31.7 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.087e-05/0.3331, allocations: 41.69 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.3332, allocations: 318.8 kB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000115/0.3334, allocations: 35.98 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.47e-05/0.3334, allocations: 50.16 kB / 1.093 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.3336, allocations: 80.72 kB / 1.093 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3336, allocations: 0 / 1.093 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002355/0.3339, allocations: 125.1 kB / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.3339, allocations: 4 kB / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.3339, allocations: 3.984 kB / 1.094 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.3339, allocations: 0 / 1.094 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.3341, allocations: 31.92 kB / 1.094 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.3341, allocations: 0 / 1.094 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.365e-05/0.3342, allocations: 11.94 kB / 1.094 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.3342, allocations: 7.938 kB / 1.094 GB, free: 11.33 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.000114/0.3343, allocations: 127.2 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.135e-05/0.3343, allocations: 7.953 kB / 1.094 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002291/0.3346, allocations: 113.9 kB / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.451e-06/0.3346, allocations: 11.98 kB / 1.094 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.3346, allocations: 0 / 1.094 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.3346, allocations: 240 / 1.094 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001945/0.3348, allocations: 221.5 kB / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3348, allocations: 0 / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.618e-05/0.3349, allocations: 23.92 kB / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.3349, allocations: 3.984 kB / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.3349, allocations: 7.938 kB / 1.094 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.3349, allocations: 0 / 1.094 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.3349, allocations: 4 kB / 1.094 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002552/0.3352, allocations: 178.7 kB / 1.094 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.11e-05/0.3353, allocations: 101 kB / 1.094 GB, free: 10.44 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.588e-05/0.3353, allocations: 4 kB / 1.094 GB, free: 10.44 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.779e-05/0.3354, allocations: 7.984 kB / 1.094 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.93e-05/0.3355, allocations: 23.86 kB / 1.094 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.3355, allocations: 4 kB / 1.094 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.415e-05/0.3356, allocations: 103.8 kB / 1.095 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3356, allocations: 0 / 1.095 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002808/0.3359, allocations: 55.81 kB / 1.095 GB, free: 10.25 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.0002431/0.3361, allocations: 163.2 kB / 1.095 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002361/0.3364, allocations: 99.84 kB / 1.095 GB, free: 9.984 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.3364, allocations: 0 / 1.095 GB, free: 9.984 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.067e-05/0.3365, allocations: 52.11 kB / 1.095 GB, free: 9.934 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002095/0.3367, allocations: 17.83 kB / 1.095 GB, free: 9.918 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004469/0.3371, allocations: 233.1 kB / 1.095 GB, free: 9.652 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003095/0.3375, allocations: 0.7002 MB / 1.096 GB, free: 8.926 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.473e-05/0.3375, allocations: 16.55 kB / 1.096 GB, free: 8.91 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.726e-05/0.3376, allocations: 19.44 kB / 1.096 GB, free: 8.891 MB / 0.8575 GB Notification: Performance of SimCode: time 2.41e-07/0.3376, allocations: 0 / 1.096 GB, free: 8.891 MB / 0.8575 GB Notification: Performance of Templates: time 0.004602/0.3422, allocations: 1.738 MB / 1.098 GB, free: 7.156 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