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.001893/0.001893, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002463/0.002463, allocations: 191.6 kB / 16.25 MB, free: 6.629 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.559/1.559, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.982/2.982, allocations: 437 MB / 0.7101 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002033/0.002033, allocations: 71.89 kB / 0.8687 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6361/0.6382, allocations: 151.6 MB / 1.017 GB, free: 2.863 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.001934/0.6401, allocations: 0.7879 MB / 1.018 GB, free: 2.074 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001895/0.642, allocations: 1.509 MB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.989e-05/0.6421, allocations: 4 kB / 1.019 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.028e-05/0.6422, allocations: 7.922 kB / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001981/0.6424, allocations: 15.86 kB / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004054/0.6428, allocations: 143.6 kB / 1.019 GB, free: 388 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001452/0.6429, allocations: 111.8 kB / 1.019 GB, free: 276 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.643, allocations: 27.94 kB / 1.019 GB, free: 248 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001225/0.6432, allocations: 55.8 kB / 1.019 GB, free: 192 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.6433, allocations: 51.81 kB / 1.019 GB, free: 140 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.282e-05/0.6433, allocations: 12 kB / 1.019 GB, free: 128 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001625/0.6435, allocations: 79.95 kB / 1.02 GB, free: 48 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.509e-05/0.6435, allocations: 31.89 kB / 1.02 GB, free: 16 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 8.083e-05/0.6436, allocations: 43.8 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002815/0.6439, allocations: 189.7 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.6439, allocations: 0 / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.457e-06/0.6439, allocations: 3.984 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.6439, allocations: 0 / 1.02 GB, free: 15.79 MB / 0.7794 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.0007607/0.6447, allocations: 431.1 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.6447, allocations: 15.97 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.844e-05/0.6448, allocations: 8.844 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001667/0.645, allocations: 184.1 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.6e-05/0.645, allocations: 34.27 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.355e-05/0.6451, allocations: 4.375 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002189/0.6453, allocations: 112.3 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.6453, allocations: 0 / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.6453, allocations: 4 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.6453, allocations: 0 / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001055/0.6455, allocations: 39.97 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007089/0.6462, allocations: 0.5243 MB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005165/0.6467, allocations: 139.7 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.982e-05/0.6468, allocations: 42.66 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.6468, allocations: 4 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002352/0.6471, allocations: 117.9 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.243e-06/0.6471, allocations: 0 / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.0003383/0.6474, allocations: 141.5 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.408e-05/0.6475, allocations: 118.7 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.6476, allocations: 125.7 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.962e-05/0.6477, allocations: 33.69 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.958e-05/0.6477, allocations: 92.45 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.341e-05/0.6478, allocations: 31.64 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.473e-05/0.6478, allocations: 37.7 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.648, allocations: 318.8 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.775e-05/0.6481, allocations: 39.97 kB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.367e-05/0.6482, allocations: 38.38 kB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001704/0.6483, allocations: 72.84 kB / 1.022 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.6484, allocations: 0 / 1.022 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000251/0.6486, allocations: 130.9 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.6486, allocations: 11.92 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.6486, allocations: 192 / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.6487, allocations: 4 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.6488, allocations: 15.98 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.6488, allocations: 4 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.026e-05/0.6489, allocations: 15.89 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.846e-05/0.6489, allocations: 11.92 kB / 1.023 GB, free: 12.63 MB / 0.7794 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.0001052/0.649, allocations: 119.4 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.853e-05/0.6491, allocations: 11.91 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002486/0.6493, allocations: 117.9 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.6494, allocations: 4 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.6494, allocations: 0 / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.6494, allocations: 0 / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000213/0.6496, allocations: 225.3 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.6496, allocations: 8 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.608e-05/0.6497, allocations: 19.98 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.6497, allocations: 4.312 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.6497, allocations: 0 / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.972e-06/0.6497, allocations: 8 kB / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.6497, allocations: 0 / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002684/0.65, allocations: 182.5 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.742e-05/0.6501, allocations: 97 kB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.539e-05/0.6501, allocations: 4 kB / 1.023 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.5e-05/0.6502, allocations: 11.92 kB / 1.023 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.593e-05/0.6503, allocations: 19.92 kB / 1.023 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.6503, allocations: 4 kB / 1.023 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.524e-05/0.6504, allocations: 102.8 kB / 1.023 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6504, allocations: 0 / 1.023 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002922/0.6507, allocations: 59.92 kB / 1.024 GB, free: 11.55 MB / 0.7794 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.0002609/0.651, allocations: 160.1 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002536/0.6512, allocations: 99.84 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.6512, allocations: 0 / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.6513, allocations: 55.91 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002103/0.6516, allocations: 8.703 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005261/0.6521, allocations: 265.4 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003583/0.6525, allocations: 0.7002 MB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.747e-05/0.6526, allocations: 20.53 kB / 1.025 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.936e-05/0.6526, allocations: 19.38 kB / 1.025 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.6526, allocations: 0 / 1.025 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of Templates: time 0.004767/0.6574, allocations: 1.699 MB / 1.026 GB, free: 8.48 MB / 0.7794 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=400 -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