Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001238/0.001238, allocations: 110.1 kB / 15.99 MB, free: 6.359 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.001205/0.001205, allocations: 191.2 kB / 16.91 MB, free: 6.195 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.328/1.328, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.576/2.576, allocations: 469.8 MB / 0.7427 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001874/0.001874, allocations: 59.95 kB / 0.9087 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2915/0.2934, allocations: 159.1 MB / 1.064 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.001928/0.2954, allocations: 0.7757 MB / 1.065 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00184/0.2972, allocations: 1.528 MB / 1.066 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.499e-05/0.2973, allocations: 0 / 1.066 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.254e-05/0.2974, allocations: 3.938 kB / 1.066 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001366/0.2975, allocations: 15.92 kB / 1.066 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003578/0.2979, allocations: 139.7 kB / 1.067 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001555/0.298, allocations: 119.6 kB / 1.067 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.867e-05/0.2981, allocations: 19.98 kB / 1.067 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.2983, allocations: 43.91 kB / 1.067 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.2984, allocations: 51.83 kB / 1.067 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.601e-05/0.2984, allocations: 19.92 kB / 1.067 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001647/0.2986, allocations: 91.88 kB / 1.067 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.061e-05/0.2986, allocations: 23.92 kB / 1.067 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.673e-05/0.2987, allocations: 47.78 kB / 1.067 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002053/0.2989, allocations: 147.9 kB / 1.067 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2989, allocations: 4 kB / 1.067 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2989, allocations: 0 / 1.067 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.446e-06/0.2989, allocations: 0 / 1.067 GB, free: 12.1 MB / 0.8419 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.0007059/0.2996, allocations: 423.2 kB / 1.067 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.2997, allocations: 8.031 kB / 1.067 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.498e-05/0.2997, allocations: 8.844 kB / 1.067 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001716/0.2999, allocations: 176.3 kB / 1.068 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.313e-05/0.3, allocations: 38.27 kB / 1.068 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.776e-05/0.3, allocations: 8.312 kB / 1.068 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002031/0.3002, allocations: 108.3 kB / 1.068 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.3002, allocations: 0 / 1.068 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.3002, allocations: 0 / 1.068 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.3002, allocations: 0 / 1.068 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/0.3004, allocations: 51.89 kB / 1.068 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006644/0.301, allocations: 0.5165 MB / 1.068 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004823/0.3015, allocations: 139.7 kB / 1.069 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.015e-05/0.3016, allocations: 50.59 kB / 1.069 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.3016, allocations: 4.062 kB / 1.069 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002264/0.3019, allocations: 117.9 kB / 1.069 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=11): time 1.332e-06/0.3019, allocations: 4 kB / 1.069 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11): time 0.0003395/0.3022, allocations: 145.4 kB / 1.069 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.759e-05/0.3023, allocations: 106.8 kB / 1.069 GB, free: 9.969 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.3024, allocations: 121.8 kB / 1.069 GB, free: 9.84 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.741e-05/0.3025, allocations: 33.7 kB / 1.069 GB, free: 9.801 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.141e-05/0.3025, allocations: 92.33 kB / 1.069 GB, free: 9.703 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.461e-05/0.3026, allocations: 35.67 kB / 1.069 GB, free: 9.668 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.242e-05/0.3026, allocations: 33.7 kB / 1.069 GB, free: 9.629 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.3028, allocations: 322.8 kB / 1.07 GB, free: 9.305 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.857e-05/0.3029, allocations: 39.98 kB / 1.07 GB, free: 9.266 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.341e-05/0.303, allocations: 31.98 kB / 1.07 GB, free: 9.234 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001706/0.3032, allocations: 82.33 kB / 1.07 GB, free: 9.152 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3032, allocations: 0 / 1.07 GB, free: 9.152 MB / 0.8419 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002569/0.3034, allocations: 128.7 kB / 1.07 GB, free: 9.023 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.3035, allocations: 12 kB / 1.07 GB, free: 9.012 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.3035, allocations: 0 / 1.07 GB, free: 9.012 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.3035, allocations: 3.938 kB / 1.07 GB, free: 9.008 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.3036, allocations: 19.98 kB / 1.07 GB, free: 8.988 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.3036, allocations: 3.938 kB / 1.07 GB, free: 8.984 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.953e-05/0.3037, allocations: 15.88 kB / 1.07 GB, free: 8.969 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.655e-05/0.3038, allocations: 11.92 kB / 1.07 GB, free: 8.957 MB / 0.8419 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.0001171/0.3039, allocations: 122.5 kB / 1.07 GB, free: 8.828 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.204e-05/0.3039, allocations: 11.91 kB / 1.07 GB, free: 8.816 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002462/0.3042, allocations: 118 kB / 1.07 GB, free: 8.695 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.3042, allocations: 0 / 1.07 GB, free: 8.695 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.3042, allocations: 4.047 kB / 1.07 GB, free: 8.691 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.3042, allocations: 3.984 kB / 1.07 GB, free: 8.688 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002248/0.3044, allocations: 213.5 kB / 1.07 GB, free: 8.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.3044, allocations: 4 kB / 1.07 GB, free: 8.426 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.738e-05/0.3045, allocations: 23.98 kB / 1.07 GB, free: 8.402 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3045, allocations: 0 / 1.07 GB, free: 8.402 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.3046, allocations: 4 kB / 1.07 GB, free: 8.398 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.3046, allocations: 3.938 kB / 1.07 GB, free: 8.395 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3046, allocations: 320 / 1.07 GB, free: 8.395 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002679/0.3048, allocations: 182.6 kB / 1.071 GB, free: 8.191 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.937e-05/0.3049, allocations: 100.9 kB / 1.071 GB, free: 8.074 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.708e-05/0.305, allocations: 8 kB / 1.071 GB, free: 8.066 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.014e-05/0.3051, allocations: 7.984 kB / 1.071 GB, free: 8.059 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.727e-05/0.3051, allocations: 15.92 kB / 1.071 GB, free: 8.043 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.3051, allocations: 4 kB / 1.071 GB, free: 8.039 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.33e-05/0.3052, allocations: 106.1 kB / 1.071 GB, free: 7.938 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3052, allocations: 0 / 1.071 GB, free: 7.938 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002759/0.3055, allocations: 63.83 kB / 1.071 GB, free: 7.875 MB / 0.8419 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.0002481/0.3057, allocations: 159.1 kB / 1.071 GB, free: 7.711 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002485/0.306, allocations: 99.89 kB / 1.071 GB, free: 7.613 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.306, allocations: 0 / 1.071 GB, free: 7.613 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 9.74e-05/0.3061, allocations: 51.92 kB / 1.071 GB, free: 7.562 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002027/0.3063, allocations: 15.98 kB / 1.071 GB, free: 7.547 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004922/0.3068, allocations: 294.9 kB / 1.071 GB, free: 7.223 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003207/0.3072, allocations: 0.7001 MB / 1.072 GB, free: 6.496 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.197e-05/0.3072, allocations: 23.42 kB / 1.072 GB, free: 6.473 MB / 0.8419 GB Notification: Performance of SimCode: time 2.5e-07/0.3072, allocations: 0 / 1.072 GB, free: 6.473 MB / 0.8419 GB Notification: Performance of Templates: time 0.003741/0.311, allocations: 1.814 MB / 1.074 GB, free: 4.664 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile (rm -f Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & ./Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches