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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 95.64 kB / 18.95 MB, free: 2.691 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001601/0.001601, allocations: 210.8 kB / 22.24 MB, free: 5.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.548/1.548, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.632/3.632, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|dayCon.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002063/0.002063, allocations: 64.31 kB / 1.186 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4255/0.4275, allocations: 181.9 MB / 1.364 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002533/0.4301, allocations: 0.7154 MB / 1.365 GB, free: 12.87 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003244/0.4333, allocations: 1.541 MB / 1.366 GB, free: 11.31 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/0.4334, allocations: 3.938 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.497e-05/0.4335, allocations: 3.938 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002256/0.4337, allocations: 19.84 kB / 1.366 GB, free: 11.28 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006731/0.4344, allocations: 171.4 kB / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002729/0.4346, allocations: 119.6 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.4348, allocations: 15.97 kB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002402/0.435, allocations: 51.86 kB / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/0.4351, allocations: 47.81 kB / 1.366 GB, free: 10.88 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.79e-05/0.4352, allocations: 8 kB / 1.366 GB, free: 10.88 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004171/0.4356, allocations: 119.8 kB / 1.367 GB, free: 10.76 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.456e-05/0.4356, allocations: 31.89 kB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.128e-05/0.4357, allocations: 39.86 kB / 1.367 GB, free: 10.69 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004768/0.4362, allocations: 223.3 kB / 1.367 GB, free: 10.47 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.4362, allocations: 4 kB / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.884e-06/0.4362, allocations: 0 / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.486e-06/0.4362, allocations: 0 / 1.367 GB, free: 10.46 MB / 1.061 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.000915/0.4371, allocations: 353.6 kB / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.4372, allocations: 12.03 kB / 1.367 GB, free: 10.08 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003699/0.4375, allocations: 28.88 kB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001589/0.4377, allocations: 118.4 kB / 1.367 GB, free: 9.91 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.782e-05/0.4378, allocations: 63.89 kB / 1.367 GB, free: 9.836 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.589e-05/0.4378, allocations: 12.38 kB / 1.367 GB, free: 9.824 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002321/0.438, allocations: 99.61 kB / 1.367 GB, free: 9.715 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.438, allocations: 0 / 1.367 GB, free: 9.715 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.4381, allocations: 4 kB / 1.367 GB, free: 9.711 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.4381, allocations: 0 / 1.367 GB, free: 9.711 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001202/0.4382, allocations: 47.91 kB / 1.368 GB, free: 9.664 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007292/0.4389, allocations: 460.7 kB / 1.368 GB, free: 9.176 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005034/0.4394, allocations: 135.7 kB / 1.368 GB, free: 9.016 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001242/0.4395, allocations: 38.58 kB / 1.368 GB, free: 8.969 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.4396, allocations: 4.078 kB / 1.368 GB, free: 8.965 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002641/0.4398, allocations: 117.9 kB / 1.368 GB, free: 8.828 MB / 1.061 GB Notification: Performance of pre-optimization done (n=11): time 1.573e-06/0.4398, allocations: 0 / 1.368 GB, free: 8.828 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.0004566/0.4403, allocations: 141.5 kB / 1.368 GB, free: 8.684 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.998e-05/0.4404, allocations: 106.8 kB / 1.369 GB, free: 8.555 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001701/0.4405, allocations: 133.7 kB / 1.369 GB, free: 8.414 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.592e-05/0.4406, allocations: 25.7 kB / 1.369 GB, free: 8.383 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.487e-05/0.4406, allocations: 88.42 kB / 1.369 GB, free: 8.289 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.743e-05/0.4407, allocations: 31.73 kB / 1.369 GB, free: 8.258 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.425e-05/0.4407, allocations: 41.64 kB / 1.369 GB, free: 8.211 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000199/0.4409, allocations: 330.9 kB / 1.369 GB, free: 7.879 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.83e-05/0.441, allocations: 31.98 kB / 1.369 GB, free: 7.848 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.662e-05/0.4411, allocations: 35.98 kB / 1.369 GB, free: 7.812 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002433/0.4414, allocations: 83.22 kB / 1.369 GB, free: 7.73 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.4414, allocations: 0 / 1.369 GB, free: 7.73 MB / 1.061 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000261/0.4416, allocations: 129.6 kB / 1.369 GB, free: 7.598 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.4417, allocations: 8 kB / 1.369 GB, free: 7.59 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.4417, allocations: 0 / 1.369 GB, free: 7.59 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.4417, allocations: 0 / 1.369 GB, free: 7.59 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.4418, allocations: 27.92 kB / 1.369 GB, free: 7.562 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.4418, allocations: 4 kB / 1.369 GB, free: 7.559 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.113e-05/0.4419, allocations: 15.88 kB / 1.369 GB, free: 7.543 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/0.4419, allocations: 4 kB / 1.369 GB, free: 7.539 MB / 1.061 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.0001116/0.442, allocations: 122.9 kB / 1.37 GB, free: 7.41 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.273e-05/0.442, allocations: 7.953 kB / 1.37 GB, free: 7.402 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002718/0.4423, allocations: 122.1 kB / 1.37 GB, free: 7.27 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.4423, allocations: 4.031 kB / 1.37 GB, free: 7.266 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.4423, allocations: 0 / 1.37 GB, free: 7.266 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.4423, allocations: 8 kB / 1.37 GB, free: 7.258 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001734/0.4425, allocations: 149.2 kB / 1.37 GB, free: 7.082 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.4425, allocations: 3.984 kB / 1.37 GB, free: 7.078 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.192e-05/0.4426, allocations: 19.94 kB / 1.37 GB, free: 7.059 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.4426, allocations: 0 / 1.37 GB, free: 7.059 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.73e-05/0.4426, allocations: 8 kB / 1.37 GB, free: 7.051 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.4426, allocations: 3.984 kB / 1.37 GB, free: 7.047 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.4426, allocations: 4 kB / 1.37 GB, free: 7.043 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002741/0.4429, allocations: 173.6 kB / 1.37 GB, free: 6.852 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.003e-05/0.443, allocations: 31.81 kB / 1.37 GB, free: 6.82 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.734e-05/0.443, allocations: 4 kB / 1.37 GB, free: 6.816 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.802e-05/0.4431, allocations: 12 kB / 1.37 GB, free: 6.805 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.799e-05/0.4431, allocations: 19.91 kB / 1.37 GB, free: 6.785 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.4431, allocations: 4 kB / 1.37 GB, free: 6.781 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.126e-05/0.4432, allocations: 95.27 kB / 1.37 GB, free: 6.688 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4432, allocations: 0 / 1.37 GB, free: 6.688 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003163/0.4435, allocations: 71.73 kB / 1.37 GB, free: 6.617 MB / 1.061 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.0002721/0.4438, allocations: 170.9 kB / 1.37 GB, free: 6.441 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002711/0.4441, allocations: 91.89 kB / 1.371 GB, free: 6.352 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.4441, allocations: 8 kB / 1.371 GB, free: 6.344 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.918e-05/0.4442, allocations: 51.98 kB / 1.371 GB, free: 6.293 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002067/0.4444, allocations: 14.44 kB / 1.371 GB, free: 6.281 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004838/0.4449, allocations: 237.4 kB / 1.371 GB, free: 6.016 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.229e-05/0.4449, allocations: 85.33 kB / 1.371 GB, free: 5.91 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.86e-05/0.445, allocations: 20.34 kB / 1.371 GB, free: 5.891 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.719e-05/0.4451, allocations: 19.42 kB / 1.371 GB, free: 5.871 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/0.4451, allocations: 0 / 1.371 GB, free: 5.871 MB / 1.061 GB Notification: Performance of Templates: time 0.006043/0.4511, allocations: 2.001 MB / 1.373 GB, free: 3.898 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.939028814435005]