Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001832/0.001832, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00218/0.00218, allocations: 195.5 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.77/2.77, allocations: 476.7 MB / 0.7645 GB, free: 10.08 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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=2500,variableFilter="time|dayCon.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002112/0.002112, allocations: 67.89 kB / 1.109 GB, free: 6.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8369/0.839, allocations: 168.7 MB / 1.274 GB, free: 4.582 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002328/0.8413, allocations: 0.7242 MB / 1.275 GB, free: 3.863 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002291/0.8436, allocations: 1.545 MB / 1.276 GB, free: 2.301 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.21e-05/0.8437, allocations: 0 / 1.276 GB, free: 2.301 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.149e-05/0.8437, allocations: 3.938 kB / 1.276 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001874/0.8439, allocations: 27.72 kB / 1.276 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004106/0.8443, allocations: 155.5 kB / 1.276 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001866/0.8445, allocations: 123.7 kB / 1.277 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.8446, allocations: 11.94 kB / 1.277 GB, free: 1.984 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001379/0.8447, allocations: 51.84 kB / 1.277 GB, free: 1.934 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.8448, allocations: 51.81 kB / 1.277 GB, free: 1.883 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.641e-05/0.8449, allocations: 12 kB / 1.277 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000217/0.8451, allocations: 99.91 kB / 1.277 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.762e-05/0.8451, allocations: 27.92 kB / 1.277 GB, free: 1.746 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.792e-05/0.8452, allocations: 55.72 kB / 1.277 GB, free: 1.691 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003222/0.8455, allocations: 194.1 kB / 1.277 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.8455, allocations: 0 / 1.277 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.074e-06/0.8455, allocations: 0 / 1.277 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.8455, allocations: 0 / 1.277 GB, free: 1.504 MB / 0.9669 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.0008409/0.8464, allocations: 430.8 kB / 1.277 GB, free: 1.035 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.8464, allocations: 12.03 kB / 1.277 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.584e-05/0.8464, allocations: 12.88 kB / 1.277 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001834/0.8466, allocations: 176.3 kB / 1.278 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.487e-05/0.8467, allocations: 30.27 kB / 1.278 GB, free: 0.7656 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.071e-05/0.8467, allocations: 12.38 kB / 1.278 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000218/0.847, allocations: 100.3 kB / 1.278 GB, free: 0.6406 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.847, allocations: 0 / 1.278 GB, free: 0.6406 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.7e-05/0.847, allocations: 12 kB / 1.278 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.847, allocations: 3.938 kB / 1.278 GB, free: 0.625 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001084/0.8471, allocations: 47.91 kB / 1.278 GB, free: 0.5781 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007379/0.8478, allocations: 0.5127 MB / 1.278 GB, free: 8 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005204/0.8484, allocations: 135.7 kB / 1.278 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.738e-05/0.8484, allocations: 46.59 kB / 1.278 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.8485, allocations: 4 kB / 1.278 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002627/0.8487, allocations: 109.9 kB / 1.279 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.8487, allocations: 0 / 1.279 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0003555/0.8491, allocations: 145.5 kB / 1.279 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.778e-05/0.8492, allocations: 110.9 kB / 1.279 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.8493, allocations: 125.8 kB / 1.279 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.676e-05/0.8493, allocations: 33.7 kB / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.444e-05/0.8494, allocations: 84.42 kB / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.481e-05/0.8494, allocations: 35.8 kB / 1.279 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.208e-05/0.8495, allocations: 37.7 kB / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001853/0.8497, allocations: 330.7 kB / 1.279 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.213e-05/0.8498, allocations: 35.98 kB / 1.279 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.327e-05/0.8498, allocations: 35.98 kB / 1.28 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001761/0.85, allocations: 78.47 kB / 1.28 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.85, allocations: 0 / 1.28 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002524/0.8503, allocations: 129.5 kB / 1.28 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.8503, allocations: 7.938 kB / 1.28 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.8503, allocations: 448 / 1.28 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.8503, allocations: 4 kB / 1.28 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.8504, allocations: 23.98 kB / 1.28 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.8504, allocations: 8 kB / 1.28 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.249e-05/0.8505, allocations: 15.92 kB / 1.28 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.594e-05/0.8506, allocations: 7.938 kB / 1.28 GB, free: 14.36 MB / 0.9825 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.0001121/0.8507, allocations: 122.3 kB / 1.28 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.448e-05/0.8507, allocations: 7.953 kB / 1.28 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002575/0.851, allocations: 121.9 kB / 1.28 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.851, allocations: 4 kB / 1.28 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.851, allocations: 0 / 1.28 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.851, allocations: 0 / 1.28 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002309/0.8512, allocations: 221.5 kB / 1.28 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.8512, allocations: 4 kB / 1.28 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.233e-05/0.8513, allocations: 15.98 kB / 1.28 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.8513, allocations: 4 kB / 1.28 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.8513, allocations: 0 / 1.28 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.843e-06/0.8513, allocations: 7.938 kB / 1.28 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.8513, allocations: 3.984 kB / 1.28 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002705/0.8516, allocations: 180.9 kB / 1.28 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.579e-05/0.8517, allocations: 101 kB / 1.281 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.151e-05/0.8517, allocations: 11.98 kB / 1.281 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.698e-05/0.8518, allocations: 4 kB / 1.281 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.37e-05/0.8518, allocations: 15.92 kB / 1.281 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/0.8519, allocations: 8 kB / 1.281 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.293e-05/0.8519, allocations: 100.5 kB / 1.281 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.8519, allocations: 0 / 1.281 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003031/0.8522, allocations: 67.67 kB / 1.281 GB, free: 13.27 MB / 0.9825 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.0002481/0.8525, allocations: 152 kB / 1.281 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002574/0.8527, allocations: 91.89 kB / 1.281 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.8527, allocations: 0 / 1.281 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001048/0.8528, allocations: 52.11 kB / 1.281 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/0.8531, allocations: 15.94 kB / 1.281 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005329/0.8536, allocations: 257.1 kB / 1.281 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000367/0.854, allocations: 0.7001 MB / 1.282 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.01e-05/0.854, allocations: 23.91 kB / 1.282 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.938e-05/0.8541, allocations: 15.44 kB / 1.282 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of SimCode: time 5.31e-07/0.8541, allocations: 0 / 1.282 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of Templates: time 0.005404/0.8595, allocations: 1.785 MB / 1.284 GB, free: 10.14 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & ./Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.113974309992045]