Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dayCon.y",fileNamePrefix="Buildings_9_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_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.291/2.291, allocations: 387.1 MB / 399.7 MB, free: 9.461 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.001005/0.001005, allocations: 176.1 kB / 492.3 MB, free: 0.6055 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.627/1.627, allocations: 221.3 MB / 0.7872 GB, free: 12.89 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.0008516/0.0008515, allocations: 89.77 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.666e-05/2.67e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.2919, allocations: 142.3 MB / 1.212 GB, free: 38.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9207/1.213, allocations: 150.1 MB / 1.359 GB, free: 19.03 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002168/1.213, allocations: 66.95 kB / 1.359 GB, free: 19.03 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01031/1.223, allocations: 3.457 MB / 1.362 GB, free: 34.57 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.745e-06/1.223, allocations: 7.938 kB / 1.362 GB, free: 34.56 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.244e-06/1.223, allocations: 0 / 1.362 GB, free: 34.56 MB / 0.8386 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.0005027/1.224, allocations: 407.5 kB / 1.363 GB, free: 34.18 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/1.224, allocations: 20.88 kB / 1.363 GB, free: 34.17 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.875e-05/1.224, allocations: 7.812 kB / 1.363 GB, free: 34.17 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/1.224, allocations: 176.2 kB / 1.363 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.882e-05/1.224, allocations: 36.73 kB / 1.363 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.526e-05/1.224, allocations: 9.188 kB / 1.363 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001821/1.224, allocations: 94.5 kB / 1.363 GB, free: 33.87 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/1.224, allocations: 0.6875 kB / 1.363 GB, free: 33.87 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/1.224, allocations: 0 / 1.363 GB, free: 33.87 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/1.224, allocations: 5.391 kB / 1.363 GB, free: 33.87 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.598e-05/1.224, allocations: 43.97 kB / 1.363 GB, free: 33.87 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005831/1.225, allocations: 0.521 MB / 1.364 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004305/1.226, allocations: 136.5 kB / 1.364 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.771e-05/1.226, allocations: 49.81 kB / 1.364 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/1.226, allocations: 4 kB / 1.364 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001623/1.226, allocations: 116 kB / 1.364 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=11): time 1.563e-06/1.226, allocations: 0 / 1.364 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.000239/1.226, allocations: 115.8 kB / 1.364 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/1.226, allocations: 114.7 kB / 1.364 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.869e-05/1.226, allocations: 114.7 kB / 1.364 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/1.226, allocations: 30.77 kB / 1.364 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.04e-05/1.226, allocations: 97.05 kB / 1.364 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.58e-05/1.226, allocations: 28.52 kB / 1.364 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.624e-06/1.226, allocations: 0 / 1.364 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.52e-05/1.226, allocations: 324.5 kB / 1.365 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.025e-05/1.226, allocations: 35.64 kB / 1.365 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.024e-05/1.227, allocations: 37.25 kB / 1.365 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.747e-05/1.227, allocations: 33.73 kB / 1.365 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/1.227, allocations: 3.906 kB / 1.365 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001707/1.227, allocations: 120.1 kB / 1.365 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/1.227, allocations: 5.281 kB / 1.365 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/1.227, allocations: 3.938 kB / 1.365 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/1.227, allocations: 3.812 kB / 1.365 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/1.227, allocations: 15.23 kB / 1.365 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.876e-06/1.227, allocations: 7.797 kB / 1.365 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.273e-05/1.227, allocations: 14.97 kB / 1.365 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.479e-05/1.227, allocations: 9.078 kB / 1.365 GB, free: 32.46 MB / 0.8386 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 () * 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 7.212e-05/1.227, allocations: 110.4 kB / 1.365 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.615e-05/1.227, allocations: 7.719 kB / 1.365 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002203/1.227, allocations: 116.6 kB / 1.365 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/1.227, allocations: 3.875 kB / 1.365 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/1.227, allocations: 4 kB / 1.365 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/1.227, allocations: 5.641 kB / 1.365 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001501/1.228, allocations: 224.2 kB / 1.366 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/1.228, allocations: 7.781 kB / 1.366 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.553e-05/1.228, allocations: 18.56 kB / 1.366 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/1.228, allocations: 3.812 kB / 1.366 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/1.228, allocations: 0 / 1.366 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.277e-06/1.228, allocations: 5.031 kB / 1.366 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/1.228, allocations: 0 / 1.366 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002411/1.228, allocations: 197.2 kB / 1.366 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.724e-05/1.228, allocations: 103.7 kB / 1.366 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.346e-05/1.228, allocations: 7.219 kB / 1.366 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.599e-05/1.228, allocations: 10.69 kB / 1.366 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.544e-05/1.228, allocations: 22.8 kB / 1.366 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/1.228, allocations: 8.203 kB / 1.366 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.462e-05/1.228, allocations: 94.09 kB / 1.366 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.228, allocations: 0 / 1.366 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002718/1.229, allocations: 59.55 kB / 1.366 GB, free: 31.77 MB / 0.8386 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) * 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.0002146/1.229, allocations: 167.3 kB / 1.366 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001741/1.229, allocations: 93.53 kB / 1.366 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/1.229, allocations: 0 / 1.366 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.603e-05/1.229, allocations: 62.05 kB / 1.366 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001489/1.229, allocations: 5.594 kB / 1.366 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003133/1.23, allocations: 156.7 kB / 1.366 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002425/1.23, allocations: 0.7009 MB / 1.367 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 6.956e-05/1.23, allocations: 15.77 kB / 1.367 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.251e-05/1.23, allocations: 19.84 kB / 1.367 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of SimCode: time 2.5e-07/1.23, allocations: 0 / 1.367 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of Templates: time 0.003731/1.234, allocations: 1.515 MB / 1.369 GB, free: 30.68 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile (rm -f Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & ./Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.csv","../files/Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches