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.001596/0.001596, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001806/0.001806, allocations: 215.9 kB / 23.01 MB, free: 4.566 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.496/1.496, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.315/3.315, allocations: 0.505 GB / 0.8108 GB, free: 22.05 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.002071/0.002071, allocations: 63.17 kB / 1.178 GB, free: 16.9 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.349/0.351, allocations: 180.2 MB / 1.354 GB, free: 7.988 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.00201/0.353, allocations: 0.7413 MB / 1.355 GB, free: 7.25 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002167/0.3552, allocations: 1.626 MB / 1.356 GB, free: 5.605 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.112e-05/0.3553, allocations: 0 / 1.356 GB, free: 5.605 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.571e-05/0.3553, allocations: 3.938 kB / 1.356 GB, free: 5.602 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001585/0.3555, allocations: 27.78 kB / 1.356 GB, free: 5.574 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004352/0.3559, allocations: 167.4 kB / 1.357 GB, free: 5.41 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001823/0.3561, allocations: 115.7 kB / 1.357 GB, free: 5.297 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.487e-05/0.3562, allocations: 19.97 kB / 1.357 GB, free: 5.277 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001608/0.3563, allocations: 47.86 kB / 1.357 GB, free: 5.23 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.3564, allocations: 51.81 kB / 1.357 GB, free: 5.18 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.481e-05/0.3565, allocations: 12 kB / 1.357 GB, free: 5.168 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000254/0.3567, allocations: 123.9 kB / 1.357 GB, free: 5.047 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.344e-05/0.3567, allocations: 23.92 kB / 1.357 GB, free: 5.023 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.163e-05/0.3568, allocations: 47.78 kB / 1.357 GB, free: 4.977 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003506/0.3572, allocations: 223.3 kB / 1.357 GB, free: 4.758 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3572, allocations: 7.938 kB / 1.357 GB, free: 4.75 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.823e-06/0.3572, allocations: 0 / 1.357 GB, free: 4.75 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.004e-05/0.3572, allocations: 0 / 1.357 GB, free: 4.75 MB / 1.045 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.0007278/0.3579, allocations: 357.6 kB / 1.358 GB, free: 4.371 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.3579, allocations: 11.97 kB / 1.358 GB, free: 4.359 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003351/0.3583, allocations: 28.88 kB / 1.358 GB, free: 4.332 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.3584, allocations: 126.4 kB / 1.358 GB, free: 4.184 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.333e-05/0.3585, allocations: 59.95 kB / 1.358 GB, free: 4.113 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.451e-05/0.3585, allocations: 8.375 kB / 1.358 GB, free: 4.105 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001981/0.3587, allocations: 97.11 kB / 1.358 GB, free: 3.996 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.3587, allocations: 0 / 1.358 GB, free: 3.996 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.3588, allocations: 7.984 kB / 1.358 GB, free: 3.988 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.3588, allocations: 8 kB / 1.358 GB, free: 3.98 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/0.3589, allocations: 39.92 kB / 1.358 GB, free: 3.941 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007045/0.3596, allocations: 0.4928 MB / 1.358 GB, free: 3.398 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005122/0.3601, allocations: 135.9 kB / 1.359 GB, free: 3.238 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.886e-05/0.3602, allocations: 38.56 kB / 1.359 GB, free: 3.191 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.3602, allocations: 8 kB / 1.359 GB, free: 3.184 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002575/0.3605, allocations: 121.8 kB / 1.359 GB, free: 3.043 MB / 1.045 GB Notification: Performance of pre-optimization done (n=11): time 1.353e-06/0.3605, allocations: 0 / 1.359 GB, free: 3.043 MB / 1.045 GB Notification: Performance of matching and sorting (n=11): time 0.0003755/0.3608, allocations: 137.5 kB / 1.359 GB, free: 2.902 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.992e-05/0.3609, allocations: 110.9 kB / 1.359 GB, free: 2.77 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.361, allocations: 125.8 kB / 1.359 GB, free: 2.637 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/0.3611, allocations: 25.7 kB / 1.359 GB, free: 2.605 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.99e-05/0.3611, allocations: 92.38 kB / 1.359 GB, free: 2.508 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.829e-05/0.3612, allocations: 35.73 kB / 1.359 GB, free: 2.473 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.4e-05/0.3612, allocations: 33.7 kB / 1.359 GB, free: 2.434 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.3614, allocations: 326.7 kB / 1.36 GB, free: 2.105 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001051/0.3615, allocations: 35.98 kB / 1.36 GB, free: 2.07 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.922e-05/0.3616, allocations: 39.98 kB / 1.36 GB, free: 2.031 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001805/0.3618, allocations: 78.33 kB / 1.36 GB, free: 1.953 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3618, allocations: 0 / 1.36 GB, free: 1.953 MB / 1.045 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002724/0.362, allocations: 129.6 kB / 1.36 GB, free: 1.82 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.362, allocations: 4 kB / 1.36 GB, free: 1.816 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.362, allocations: 0 / 1.36 GB, free: 1.816 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.3621, allocations: 0 / 1.36 GB, free: 1.816 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.3622, allocations: 23.92 kB / 1.36 GB, free: 1.793 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.3622, allocations: 256 / 1.36 GB, free: 1.793 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.272e-05/0.3623, allocations: 19.88 kB / 1.36 GB, free: 1.773 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.729e-05/0.3623, allocations: 15.94 kB / 1.36 GB, free: 1.758 MB / 1.045 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.0001152/0.3624, allocations: 122.4 kB / 1.36 GB, free: 1.629 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.335e-05/0.3624, allocations: 7.953 kB / 1.36 GB, free: 1.621 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002472/0.3627, allocations: 118.1 kB / 1.36 GB, free: 1.5 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.3627, allocations: 4 kB / 1.36 GB, free: 1.496 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.3627, allocations: 4 kB / 1.36 GB, free: 1.492 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.3627, allocations: 3.938 kB / 1.36 GB, free: 1.488 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002141/0.3629, allocations: 200.4 kB / 1.36 GB, free: 1.25 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3629, allocations: 0 / 1.36 GB, free: 1.25 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001013/0.363, allocations: 23.92 kB / 1.36 GB, free: 1.227 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.363, allocations: 4 kB / 1.36 GB, free: 1.223 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.363, allocations: 4 kB / 1.36 GB, free: 1.219 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.363, allocations: 0 / 1.36 GB, free: 1.219 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.363, allocations: 4 kB / 1.36 GB, free: 1.215 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002773/0.3633, allocations: 176.9 kB / 1.361 GB, free: 1.02 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.971e-05/0.3634, allocations: 27.88 kB / 1.361 GB, free: 0.9922 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.545e-05/0.3634, allocations: 3.984 kB / 1.361 GB, free: 0.9883 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.254e-05/0.3635, allocations: 8 kB / 1.361 GB, free: 0.9805 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.577e-05/0.3636, allocations: 15.92 kB / 1.361 GB, free: 0.9648 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/0.3636, allocations: 11.98 kB / 1.361 GB, free: 0.9531 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.536e-05/0.3636, allocations: 100.5 kB / 1.361 GB, free: 0.8555 MB / 1.045 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3636, allocations: 0 / 1.361 GB, free: 0.8555 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003214/0.364, allocations: 71.7 kB / 1.361 GB, free: 0.7852 MB / 1.045 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.0002736/0.3642, allocations: 173.8 kB / 1.361 GB, free: 0.6094 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000272/0.3645, allocations: 91.89 kB / 1.361 GB, free: 0.5195 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.3645, allocations: 0 / 1.361 GB, free: 0.5195 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.000101/0.3646, allocations: 47.92 kB / 1.361 GB, free: 484 kB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002131/0.3648, allocations: 8.438 kB / 1.361 GB, free: 476 kB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005318/0.3654, allocations: 267.4 kB / 1.361 GB, free: 164 kB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003511/0.3657, allocations: 0.7001 MB / 1.362 GB, free: 15.43 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.505e-05/0.3658, allocations: 23.42 kB / 1.362 GB, free: 15.41 MB / 1.061 GB Notification: Performance of SimCode: time 3.41e-07/0.3658, allocations: 0 / 1.362 GB, free: 15.41 MB / 1.061 GB Notification: Performance of Templates: time 0.004227/0.37, allocations: 2.032 MB / 1.364 GB, free: 13.38 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/jenkins1/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: 11.378794061020017]