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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.434/2.434, allocations: 393.5 MB / 408.4 MB, free: 10.99 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 178.7 kB / 0.4902 GB, free: 2.207 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.515/1.515, allocations: 223.2 MB / 0.7992 GB, free: 14.71 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009091/0.0009091, allocations: 95.45 kB / 0.9396 GB, free: 1.867 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003851/0.0003852, allocations: 10.22 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3149, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2115/0.5264, allocations: 151 MB / 1.377 GB, free: 2.504 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002582/0.5268, allocations: 71.95 kB / 1.377 GB, free: 2.434 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01113/0.5379, allocations: 3.469 MB / 1.38 GB, free: 14.96 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.635e-06/0.538, allocations: 4 kB / 1.38 GB, free: 14.96 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.816e-06/0.538, allocations: 0 / 1.38 GB, free: 14.96 MB / 0.8855 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.0006455/0.5386, allocations: 431.2 kB / 1.381 GB, free: 14.49 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/0.5387, allocations: 8.562 kB / 1.381 GB, free: 14.48 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.437e-05/0.5387, allocations: 7.906 kB / 1.381 GB, free: 14.47 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000176/0.5389, allocations: 186.9 kB / 1.381 GB, free: 14.25 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.107e-05/0.539, allocations: 33.7 kB / 1.381 GB, free: 14.21 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/0.539, allocations: 8 kB / 1.381 GB, free: 14.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002032/0.5393, allocations: 100.2 kB / 1.381 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.5393, allocations: 3.938 kB / 1.381 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.721e-05/0.5393, allocations: 4 kB / 1.381 GB, free: 14.08 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.5393, allocations: 3.984 kB / 1.381 GB, free: 14.08 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001009/0.5394, allocations: 43.92 kB / 1.381 GB, free: 14.04 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007272/0.5402, allocations: 0.5243 MB / 1.381 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004775/0.5406, allocations: 139.8 kB / 1.382 GB, free: 13.29 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.5407, allocations: 0 / 1.382 GB, free: 13.29 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002349/0.5409, allocations: 118 kB / 1.382 GB, free: 13.15 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=11): time 1.342e-06/0.5409, allocations: 3.938 kB / 1.382 GB, free: 13.15 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11): time 0.0003526/0.5413, allocations: 141.5 kB / 1.382 GB, free: 13 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.941e-05/0.5414, allocations: 114.8 kB / 1.382 GB, free: 12.87 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.5415, allocations: 109 kB / 1.382 GB, free: 12.75 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.5415, allocations: 33.7 kB / 1.382 GB, free: 12.71 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.947e-05/0.5416, allocations: 92.45 kB / 1.382 GB, free: 12.62 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.384e-05/0.5416, allocations: 35.55 kB / 1.382 GB, free: 12.58 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.724e-06/0.5416, allocations: 0 / 1.382 GB, free: 12.58 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.5418, allocations: 322.8 kB / 1.382 GB, free: 12.26 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.127e-05/0.5419, allocations: 35.98 kB / 1.382 GB, free: 12.22 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.677e-05/0.542, allocations: 35.5 kB / 1.383 GB, free: 12.19 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.252e-05/0.5421, allocations: 36 kB / 1.383 GB, free: 12.16 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.5421, allocations: 3.938 kB / 1.383 GB, free: 12.15 MB / 0.8855 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000247/0.5423, allocations: 133.5 kB / 1.383 GB, free: 12.02 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.5424, allocations: 9.875 kB / 1.383 GB, free: 12.01 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.5424, allocations: 0 / 1.383 GB, free: 12.01 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.5424, allocations: 0 / 1.383 GB, free: 12.01 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.5425, allocations: 23.94 kB / 1.383 GB, free: 11.98 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.5426, allocations: 0 / 1.383 GB, free: 11.98 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.972e-05/0.5426, allocations: 11.98 kB / 1.383 GB, free: 11.97 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.615e-05/0.5427, allocations: 8 kB / 1.383 GB, free: 11.96 MB / 0.8855 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.booToRea.u) * 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.000122/0.5428, allocations: 125.8 kB / 1.383 GB, free: 11.83 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.29e-05/0.5428, allocations: 11.89 kB / 1.383 GB, free: 11.82 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002663/0.5431, allocations: 118 kB / 1.383 GB, free: 11.69 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.207e-06/0.5431, allocations: 4 kB / 1.383 GB, free: 11.69 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.5431, allocations: 3.953 kB / 1.383 GB, free: 11.68 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.5431, allocations: 3.984 kB / 1.383 GB, free: 11.68 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000221/0.5434, allocations: 213.6 kB / 1.383 GB, free: 11.42 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.5434, allocations: 4 kB / 1.383 GB, free: 11.42 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.455e-05/0.5435, allocations: 16 kB / 1.383 GB, free: 11.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.169e-06/0.5435, allocations: 4 kB / 1.383 GB, free: 11.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.5435, allocations: 4 kB / 1.383 GB, free: 11.39 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.31e-05/0.5435, allocations: 3.984 kB / 1.383 GB, free: 11.39 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.5435, allocations: 12.19 kB / 1.383 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002855/0.5438, allocations: 202 kB / 1.383 GB, free: 11.14 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 9.131e-05/0.5439, allocations: 100.9 kB / 1.384 GB, free: 11.03 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.812e-05/0.544, allocations: 11.95 kB / 1.384 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.237e-05/0.5441, allocations: 8 kB / 1.384 GB, free: 11.01 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.551e-05/0.5441, allocations: 15.97 kB / 1.384 GB, free: 10.99 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/0.5442, allocations: 4 kB / 1.384 GB, free: 10.99 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 8.465e-05/0.5442, allocations: 103.3 kB / 1.384 GB, free: 10.89 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1e-07/0.5442, allocations: 0 / 1.384 GB, free: 10.89 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002861/0.5445, allocations: 59.88 kB / 1.384 GB, free: 10.83 MB / 0.8855 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.booToRea.u) * 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.000286/0.5448, allocations: 167.9 kB / 1.384 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00024/0.5451, allocations: 93.86 kB / 1.384 GB, free: 10.57 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.5451, allocations: 0 / 1.384 GB, free: 10.57 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 9.486e-05/0.5452, allocations: 51.92 kB / 1.384 GB, free: 10.52 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001641/0.5454, allocations: 14.42 kB / 1.384 GB, free: 10.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005535/0.5459, allocations: 263.4 kB / 1.384 GB, free: 10.21 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003116/0.5463, allocations: 0.7043 MB / 1.385 GB, free: 9.484 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 7.691e-05/0.5463, allocations: 20.61 kB / 1.385 GB, free: 9.465 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.684e-05/0.5464, allocations: 27.36 kB / 1.385 GB, free: 9.441 MB / 0.8855 GB Notification: Performance of SimCode: time 2.4e-07/0.5464, allocations: 0 / 1.385 GB, free: 9.441 MB / 0.8855 GB Notification: Performance of Templates: time 0.004379/0.5508, allocations: 1.502 MB / 1.386 GB, free: 7.941 MB / 0.8855 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","../files/Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches