Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dayCon.y",fileNamePrefix="Buildings_10_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_10_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.006259/0.006259, allocations: 101.2 kB / 15.73 MB, free: 5.988 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.001296/0.001297, allocations: 189.4 kB / 16.67 MB, free: 5.914 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.479/1.479, allocations: 222.9 MB / 240.4 MB, free: 4.148 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.758/2.758, allocations: 437 MB / 0.7105 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 60.09 kB / 1.019 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4108/0.4128, allocations: 151.6 MB / 1.167 GB, free: 6.867 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.003123/0.416, allocations: 0.72 MB / 1.167 GB, free: 6.141 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003206/0.4192, allocations: 1.525 MB / 1.169 GB, free: 4.598 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.4193, allocations: 4 kB / 1.169 GB, free: 4.594 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 5.197e-05/0.4194, allocations: 7.922 kB / 1.169 GB, free: 4.586 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002433/0.4197, allocations: 15.8 kB / 1.169 GB, free: 4.57 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007637/0.4204, allocations: 155.5 kB / 1.169 GB, free: 4.418 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002824/0.4207, allocations: 119.6 kB / 1.169 GB, free: 4.301 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001635/0.4209, allocations: 23.97 kB / 1.169 GB, free: 4.277 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002417/0.4212, allocations: 55.84 kB / 1.169 GB, free: 4.223 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001635/0.4214, allocations: 47.81 kB / 1.169 GB, free: 4.176 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.881e-05/0.4214, allocations: 12 kB / 1.169 GB, free: 4.164 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003413/0.4218, allocations: 99.92 kB / 1.169 GB, free: 4.066 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.911e-05/0.4218, allocations: 23.92 kB / 1.169 GB, free: 4.043 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 9.014e-05/0.4219, allocations: 47.78 kB / 1.169 GB, free: 3.996 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004895/0.4224, allocations: 203.3 kB / 1.17 GB, free: 3.797 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.4225, allocations: 4 kB / 1.17 GB, free: 3.793 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.685e-06/0.4225, allocations: 0 / 1.17 GB, free: 3.793 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.11e-05/0.4225, allocations: 0 / 1.17 GB, free: 3.793 MB / 0.92 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.001082/0.4236, allocations: 430.8 kB / 1.17 GB, free: 3.324 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.591e-05/0.4236, allocations: 8.75 kB / 1.17 GB, free: 3.316 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.278e-05/0.4237, allocations: 12.89 kB / 1.17 GB, free: 3.305 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002202/0.424, allocations: 184.2 kB / 1.17 GB, free: 3.086 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.981e-05/0.4241, allocations: 38.25 kB / 1.17 GB, free: 3.043 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.482e-05/0.4241, allocations: 8.312 kB / 1.17 GB, free: 3.035 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002752/0.4244, allocations: 100.4 kB / 1.17 GB, free: 2.922 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.719e-05/0.4244, allocations: 7.969 kB / 1.17 GB, free: 2.914 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.277e-05/0.4245, allocations: 4 kB / 1.17 GB, free: 2.91 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.4245, allocations: 4 kB / 1.17 GB, free: 2.906 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001537/0.4247, allocations: 43.92 kB / 1.17 GB, free: 2.863 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009622/0.4256, allocations: 0.5166 MB / 1.171 GB, free: 2.289 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007253/0.4264, allocations: 135.7 kB / 1.171 GB, free: 2.129 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/0.4265, allocations: 50.59 kB / 1.171 GB, free: 2.07 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.839e-05/0.4265, allocations: 0 / 1.171 GB, free: 2.07 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003719/0.4269, allocations: 117.9 kB / 1.171 GB, free: 1.934 MB / 0.92 GB Notification: Performance of pre-optimization done (n=11): time 1.804e-06/0.4269, allocations: 0 / 1.171 GB, free: 1.934 MB / 0.92 GB Notification: Performance of matching and sorting (n=11): time 0.0004808/0.4274, allocations: 141.5 kB / 1.171 GB, free: 1.789 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/0.4275, allocations: 114.8 kB / 1.171 GB, free: 1.652 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.4277, allocations: 122 kB / 1.172 GB, free: 1.523 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.315e-05/0.4277, allocations: 29.7 kB / 1.172 GB, free: 1.488 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.796e-05/0.4278, allocations: 96.36 kB / 1.172 GB, free: 1.387 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.18e-05/0.4279, allocations: 31.81 kB / 1.172 GB, free: 1.355 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.094e-05/0.428, allocations: 33.7 kB / 1.172 GB, free: 1.316 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.4281, allocations: 322.8 kB / 1.172 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.4283, allocations: 35.98 kB / 1.172 GB, free: 0.957 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000114/0.4284, allocations: 43.92 kB / 1.172 GB, free: 0.9141 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002244/0.4286, allocations: 86.45 kB / 1.172 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.4286, allocations: 0 / 1.172 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003394/0.429, allocations: 121.6 kB / 1.172 GB, free: 0.7031 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.429, allocations: 4 kB / 1.172 GB, free: 0.6992 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.429, allocations: 0 / 1.172 GB, free: 0.6992 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.429, allocations: 0 / 1.172 GB, free: 0.6992 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001553/0.4292, allocations: 19.98 kB / 1.172 GB, free: 0.6797 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.4292, allocations: 0 / 1.172 GB, free: 0.6797 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000123/0.4294, allocations: 19.88 kB / 1.172 GB, free: 0.6602 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.036e-05/0.4294, allocations: 15.88 kB / 1.172 GB, free: 0.6445 MB / 0.92 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.0001469/0.4295, allocations: 127.9 kB / 1.172 GB, free: 0.5117 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.31e-05/0.4296, allocations: 7.953 kB / 1.172 GB, free: 0.5039 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003345/0.4299, allocations: 114.1 kB / 1.173 GB, free: 392 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.4299, allocations: 0 / 1.173 GB, free: 392 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/0.43, allocations: 4 kB / 1.173 GB, free: 388 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.43, allocations: 12.23 kB / 1.173 GB, free: 376 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002982/0.4303, allocations: 221.4 kB / 1.173 GB, free: 104 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.4303, allocations: 4 kB / 1.173 GB, free: 100 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000123/0.4304, allocations: 23.94 kB / 1.173 GB, free: 76 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/0.4305, allocations: 0 / 1.173 GB, free: 76 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.155e-05/0.4305, allocations: 7.984 kB / 1.173 GB, free: 68 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.922e-06/0.4305, allocations: 3.938 kB / 1.173 GB, free: 64 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.4305, allocations: 4 kB / 1.173 GB, free: 60 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003888/0.4309, allocations: 172 kB / 1.173 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001115/0.431, allocations: 101 kB / 1.173 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.802e-05/0.4311, allocations: 11.95 kB / 1.173 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.4312, allocations: 7.984 kB / 1.173 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.198e-05/0.4313, allocations: 19.92 kB / 1.173 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/0.4313, allocations: 4 kB / 1.173 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.938e-05/0.4314, allocations: 106.7 kB / 1.173 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.11e-07/0.4314, allocations: 4 kB / 1.173 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004547/0.4319, allocations: 55.81 kB / 1.173 GB, free: 15.55 MB / 0.9356 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.0003834/0.4323, allocations: 151 kB / 1.173 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003305/0.4326, allocations: 101.8 kB / 1.174 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.4326, allocations: 0 / 1.174 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001354/0.4328, allocations: 51.92 kB / 1.174 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003167/0.4331, allocations: 18.02 kB / 1.174 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007301/0.4339, allocations: 240.9 kB / 1.174 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006969/0.4346, allocations: 0.7002 MB / 1.175 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001254/0.4347, allocations: 12.56 kB / 1.175 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.965e-05/0.4348, allocations: 23.42 kB / 1.175 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of SimCode: time 5.21e-07/0.4348, allocations: 0 / 1.175 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of Templates: time 0.009329/0.4441, allocations: 1.738 MB / 1.176 GB, free: 12.46 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile (rm -f Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & ./Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches