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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001384/0.001385, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001392/0.001393, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.555/1.555, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.971/2.971, allocations: 462.6 MB / 0.736 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004617/0.0004618, allocations: 7.969 kB / 0.9021 GB, free: 36.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3931/0.3936, allocations: 159.6 MB / 1.058 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.00094/0.3946, allocations: 433.7 kB / 1.058 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001877/0.3964, allocations: 1.475 MB / 1.06 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.415e-05/0.3965, allocations: 4 kB / 1.06 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.14e-05/0.3965, allocations: 3.938 kB / 1.06 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001676/0.3967, allocations: 15.84 kB / 1.06 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003132/0.397, allocations: 123.7 kB / 1.06 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001453/0.3972, allocations: 99.7 kB / 1.06 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.875e-05/0.3973, allocations: 15.98 kB / 1.06 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001274/0.3974, allocations: 39.84 kB / 1.06 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001031/0.3975, allocations: 47.81 kB / 1.06 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.977e-05/0.3976, allocations: 8 kB / 1.06 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001653/0.3977, allocations: 67.95 kB / 1.06 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.713e-05/0.3978, allocations: 19.91 kB / 1.06 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.097e-05/0.3978, allocations: 37.7 kB / 1.06 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001855/0.398, allocations: 143.9 kB / 1.06 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.398, allocations: 0 / 1.06 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.362e-06/0.398, allocations: 0 / 1.06 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.007e-06/0.3981, allocations: 0 / 1.06 GB, free: 2.754 MB / 0.8106 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.0006498/0.3987, allocations: 415.1 kB / 1.061 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.3988, allocations: 8.031 kB / 1.061 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.419e-05/0.3988, allocations: 7.906 kB / 1.061 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001734/0.399, allocations: 182.9 kB / 1.061 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001004/0.3991, allocations: 37.66 kB / 1.061 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.346e-05/0.3991, allocations: 8 kB / 1.061 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002271/0.3994, allocations: 100.2 kB / 1.061 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.3994, allocations: 4 kB / 1.061 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.3994, allocations: 7.938 kB / 1.061 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.3994, allocations: 0 / 1.061 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001105/0.3995, allocations: 47.95 kB / 1.061 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000746/0.4003, allocations: 0.5204 MB / 1.062 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004473/0.4007, allocations: 139.7 kB / 1.062 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.126e-05/0.4008, allocations: 42.66 kB / 1.062 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.58e-05/0.4009, allocations: 4 kB / 1.062 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002222/0.4011, allocations: 113.9 kB / 1.062 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=11): time 1.202e-06/0.4011, allocations: 0 / 1.062 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11): time 0.0003508/0.4015, allocations: 141.5 kB / 1.062 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/0.4016, allocations: 114.8 kB / 1.062 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.4017, allocations: 125.8 kB / 1.062 GB, free: 0.5 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/0.4017, allocations: 29.7 kB / 1.062 GB, free: 476 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.327e-05/0.4018, allocations: 104.4 kB / 1.063 GB, free: 364 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.231e-05/0.4018, allocations: 31.55 kB / 1.063 GB, free: 332 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.038e-05/0.4019, allocations: 4 kB / 1.063 GB, free: 328 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.402, allocations: 314.8 kB / 1.063 GB, free: 4 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/0.4021, allocations: 40.06 kB / 1.063 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.891e-05/0.4022, allocations: 43.91 kB / 1.063 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.858e-05/0.4023, allocations: 30.39 kB / 1.063 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.4023, allocations: 0 / 1.063 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002341/0.4025, allocations: 137.5 kB / 1.063 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.4026, allocations: 5.875 kB / 1.063 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.4026, allocations: 0 / 1.063 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.4026, allocations: 0 / 1.063 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.4027, allocations: 24.17 kB / 1.063 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.4027, allocations: 0 / 1.063 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.393e-05/0.4028, allocations: 16 kB / 1.063 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.208e-05/0.4028, allocations: 7.984 kB / 1.063 GB, free: 15.7 MB / 0.8262 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 ($whenCondition2,$whenCondition1,$PRE.dayCon.sunRiseSet.nextSunRise,dayCon.sunRiseSet.nextSunRise,$PRE.dayCon.sunRiseSet.nextSunSet,dayCon.sunRiseSet.nextSunSet,dayCon.not1.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001021/0.4029, allocations: 129.7 kB / 1.063 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.794e-05/0.403, allocations: 7.906 kB / 1.063 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002408/0.4032, allocations: 114 kB / 1.063 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.4032, allocations: 4 kB / 1.063 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.4032, allocations: 48 / 1.063 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.4033, allocations: 7.984 kB / 1.063 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001915/0.4035, allocations: 221.5 kB / 1.064 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.4035, allocations: 0 / 1.064 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.878e-05/0.4036, allocations: 23.92 kB / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.4036, allocations: 0 / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.4036, allocations: 4 kB / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.4036, allocations: 4 kB / 1.064 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4036, allocations: 0 / 1.064 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002468/0.4039, allocations: 178.5 kB / 1.064 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.541e-05/0.4039, allocations: 104.9 kB / 1.064 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.518e-05/0.404, allocations: 7.922 kB / 1.064 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.742e-05/0.4041, allocations: 12 kB / 1.064 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.033e-05/0.4041, allocations: 7.984 kB / 1.064 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.4041, allocations: 8 kB / 1.064 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.374e-05/0.4042, allocations: 95.27 kB / 1.064 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.3e-07/0.4042, allocations: 0 / 1.064 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002613/0.4045, allocations: 63.92 kB / 1.064 GB, free: 14.62 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002284/0.4047, allocations: 155.1 kB / 1.064 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002273/0.405, allocations: 106.2 kB / 1.064 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.405, allocations: 0 / 1.064 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.399e-05/0.4051, allocations: 51.92 kB / 1.064 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002176/0.4053, allocations: 13.08 kB / 1.064 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004931/0.4058, allocations: 271.1 kB / 1.065 GB, free: 14 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003028/0.4061, allocations: 0.7005 MB / 1.065 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.353e-05/0.4062, allocations: 14.92 kB / 1.065 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.512e-05/0.4062, allocations: 19.42 kB / 1.065 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.4062, allocations: 0 / 1.065 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of Templates: time 0.00467/0.4109, allocations: 1.591 MB / 1.067 GB, free: 11.66 MB / 0.8262 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/jenkins/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