Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001549/0.001555, allocations: 106.6 kB / 16.41 MB, free: 6.492 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.001805/0.001805, allocations: 189.6 kB / 17.34 MB, free: 5.762 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.348/1.348, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.629/2.629, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001509, allocations: 63.91 kB / 1.055 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7933/0.7948, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002163/0.797, allocations: 0.7227 MB / 1.209 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002179/0.7992, allocations: 1.525 MB / 1.211 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.962e-05/0.7993, allocations: 0 / 1.211 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.769e-05/0.7994, allocations: 3.938 kB / 1.211 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001865/0.7996, allocations: 23.78 kB / 1.211 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005284/0.8001, allocations: 159.5 kB / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001947/0.8004, allocations: 119.6 kB / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.8005, allocations: 23.97 kB / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001558/0.8006, allocations: 43.86 kB / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.8008, allocations: 51.81 kB / 1.211 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.41e-05/0.8008, allocations: 12 kB / 1.211 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002475/0.8011, allocations: 99.91 kB / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.245e-05/0.8011, allocations: 27.92 kB / 1.211 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.91e-05/0.8012, allocations: 47.78 kB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003193/0.8015, allocations: 197.2 kB / 1.211 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.8015, allocations: 0 / 1.211 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.733e-06/0.8015, allocations: 4 kB / 1.211 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.8015, allocations: 0 / 1.211 GB, free: 10.6 MB / 0.9356 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.000732/0.8023, allocations: 431.1 kB / 1.212 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.8023, allocations: 8.031 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.342e-05/0.8024, allocations: 8.844 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/0.8025, allocations: 172.2 kB / 1.212 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.423e-05/0.8026, allocations: 38.25 kB / 1.212 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.997e-05/0.8026, allocations: 8.375 kB / 1.212 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001929/0.8028, allocations: 104.3 kB / 1.212 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.8028, allocations: 0 / 1.212 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.8029, allocations: 4 kB / 1.212 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.8029, allocations: 0 / 1.212 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001058/0.803, allocations: 47.91 kB / 1.212 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006937/0.8037, allocations: 0.5204 MB / 1.213 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004972/0.8042, allocations: 139.7 kB / 1.213 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.968e-05/0.8043, allocations: 50.52 kB / 1.213 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.138e-05/0.8043, allocations: 8.062 kB / 1.213 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002392/0.8046, allocations: 113.9 kB / 1.213 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=11): time 1.293e-06/0.8046, allocations: 0 / 1.213 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11): time 0.0003463/0.8049, allocations: 145.4 kB / 1.213 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.531e-05/0.805, allocations: 110.9 kB / 1.213 GB, free: 8.465 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.8051, allocations: 125.8 kB / 1.213 GB, free: 8.332 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.8052, allocations: 33.7 kB / 1.213 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.674e-05/0.8052, allocations: 88.33 kB / 1.213 GB, free: 8.199 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.551e-05/0.8053, allocations: 31.55 kB / 1.213 GB, free: 8.168 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.127e-05/0.8053, allocations: 37.7 kB / 1.213 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.8055, allocations: 322.8 kB / 1.214 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.793e-05/0.8056, allocations: 39.98 kB / 1.214 GB, free: 7.762 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.182e-05/0.8056, allocations: 35.98 kB / 1.214 GB, free: 7.727 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001708/0.8058, allocations: 79.59 kB / 1.214 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.8058, allocations: 0 / 1.214 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002406/0.8061, allocations: 129.5 kB / 1.214 GB, free: 7.516 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.8061, allocations: 8 kB / 1.214 GB, free: 7.508 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.8061, allocations: 0 / 1.214 GB, free: 7.508 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.8061, allocations: 0 / 1.214 GB, free: 7.508 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.8063, allocations: 19.98 kB / 1.214 GB, free: 7.488 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.8063, allocations: 4 kB / 1.214 GB, free: 7.484 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.044e-05/0.8064, allocations: 11.98 kB / 1.214 GB, free: 7.473 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.804e-05/0.8064, allocations: 7.938 kB / 1.214 GB, free: 7.465 MB / 0.9356 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.0001068/0.8065, allocations: 124.5 kB / 1.214 GB, free: 7.336 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.29e-05/0.8065, allocations: 11.84 kB / 1.214 GB, free: 7.324 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002482/0.8068, allocations: 133.8 kB / 1.214 GB, free: 7.184 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.8068, allocations: 0 / 1.214 GB, free: 7.184 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.8068, allocations: 0 / 1.214 GB, free: 7.184 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.894e-06/0.8068, allocations: 4 kB / 1.214 GB, free: 7.18 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001992/0.807, allocations: 213.5 kB / 1.215 GB, free: 6.922 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.807, allocations: 0 / 1.215 GB, free: 6.922 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.476e-05/0.8071, allocations: 23.98 kB / 1.215 GB, free: 6.898 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.8072, allocations: 0 / 1.215 GB, free: 6.898 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.8072, allocations: 4 kB / 1.215 GB, free: 6.895 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.8072, allocations: 3.938 kB / 1.215 GB, free: 6.891 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.8072, allocations: 3.984 kB / 1.215 GB, free: 6.887 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002546/0.8075, allocations: 178.6 kB / 1.215 GB, free: 6.688 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.074e-05/0.8075, allocations: 101.1 kB / 1.215 GB, free: 6.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.018e-05/0.8076, allocations: 8 kB / 1.215 GB, free: 6.562 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.761e-05/0.8077, allocations: 7.938 kB / 1.215 GB, free: 6.555 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.481e-05/0.8077, allocations: 19.91 kB / 1.215 GB, free: 6.535 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.8077, allocations: 11.98 kB / 1.215 GB, free: 6.523 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.675e-05/0.8078, allocations: 99.27 kB / 1.215 GB, free: 6.426 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2e-07/0.8078, allocations: 3.938 kB / 1.215 GB, free: 6.422 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002848/0.8081, allocations: 55.94 kB / 1.215 GB, free: 6.367 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.0002471/0.8084, allocations: 158.2 kB / 1.215 GB, free: 6.207 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002353/0.8086, allocations: 97.72 kB / 1.215 GB, free: 6.113 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.8086, allocations: 0 / 1.215 GB, free: 6.113 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.454e-05/0.8087, allocations: 55.92 kB / 1.215 GB, free: 6.059 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002073/0.8089, allocations: 14.19 kB / 1.215 GB, free: 6.047 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004787/0.8094, allocations: 266.8 kB / 1.216 GB, free: 5.742 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002571/0.8097, allocations: 0.6963 MB / 1.216 GB, free: 5.02 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.585e-05/0.8097, allocations: 23.42 kB / 1.216 GB, free: 4.996 MB / 0.9356 GB Notification: Performance of SimCode: time 3.61e-07/0.8098, allocations: 4 kB / 1.216 GB, free: 4.992 MB / 0.9356 GB Notification: Performance of Templates: time 0.003655/0.8134, allocations: 1.807 MB / 1.218 GB, free: 3.191 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & ./Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches