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.001669/0.001669, 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.002/0.002, allocations: 191.9 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.642/1.642, allocations: 225.6 MB / 250.9 MB, free: 13.28 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.988/2.988, allocations: 476.7 MB / 0.7645 GB, free: 10.1 MB / 0.6231 GB " [Timeout remaining time 176] 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.001995/0.001995, allocations: 67.89 kB / 1.109 GB, free: 6.578 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8954/0.8974, allocations: 168.7 MB / 1.274 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002156/0.8995, allocations: 0.7368 MB / 1.275 GB, free: 3.844 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002453/0.902, allocations: 1.538 MB / 1.276 GB, free: 2.289 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.306e-05/0.9021, allocations: 0 / 1.276 GB, free: 2.289 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.096e-05/0.9021, allocations: 7.922 kB / 1.276 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002012/0.9023, allocations: 19.8 kB / 1.276 GB, free: 2.262 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004749/0.9028, allocations: 159.5 kB / 1.276 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002058/0.903, allocations: 119.6 kB / 1.277 GB, free: 1.988 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.9031, allocations: 19.91 kB / 1.277 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001607/0.9033, allocations: 51.84 kB / 1.277 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001227/0.9034, allocations: 51.81 kB / 1.277 GB, free: 1.867 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.135e-05/0.9034, allocations: 12 kB / 1.277 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002342/0.9037, allocations: 95.92 kB / 1.277 GB, free: 1.762 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.502e-05/0.9037, allocations: 27.97 kB / 1.277 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.093e-05/0.9038, allocations: 47.8 kB / 1.277 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003695/0.9042, allocations: 202 kB / 1.277 GB, free: 1.492 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.9042, allocations: 0 / 1.277 GB, free: 1.492 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.667e-06/0.9042, allocations: 0 / 1.277 GB, free: 1.492 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.9042, allocations: 0 / 1.277 GB, free: 1.492 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.0009192/0.9051, allocations: 434.8 kB / 1.277 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/0.9052, allocations: 12.03 kB / 1.277 GB, free: 1.008 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.694e-05/0.9052, allocations: 8.891 kB / 1.277 GB, free: 1 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002522/0.9055, allocations: 180.3 kB / 1.278 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.014e-05/0.9056, allocations: 30.27 kB / 1.278 GB, free: 0.75 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.644e-05/0.9056, allocations: 12.38 kB / 1.278 GB, free: 0.7383 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002334/0.9058, allocations: 100.3 kB / 1.278 GB, free: 0.625 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.9058, allocations: 4 kB / 1.278 GB, free: 0.6211 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.825e-05/0.9058, allocations: 8 kB / 1.278 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.9058, allocations: 0 / 1.278 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000123/0.906, allocations: 47.91 kB / 1.278 GB, free: 0.5664 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008267/0.9068, allocations: 0.5166 MB / 1.278 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005288/0.9073, allocations: 131.7 kB / 1.278 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.441e-05/0.9074, allocations: 42.66 kB / 1.278 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/0.9074, allocations: 11.88 kB / 1.279 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002839/0.9077, allocations: 109.9 kB / 1.279 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.352e-06/0.9077, allocations: 0 / 1.279 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0003742/0.9081, allocations: 153.5 kB / 1.279 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.116e-05/0.9082, allocations: 110.8 kB / 1.279 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.9083, allocations: 125.8 kB / 1.279 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.119e-05/0.9083, allocations: 25.7 kB / 1.279 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.744e-05/0.9084, allocations: 92.41 kB / 1.279 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.763e-05/0.9084, allocations: 27.75 kB / 1.279 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.165e-05/0.9085, allocations: 41.69 kB / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.9087, allocations: 322.8 kB / 1.279 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.876e-05/0.9088, allocations: 35.98 kB / 1.28 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.215e-05/0.9089, allocations: 39.97 kB / 1.28 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001802/0.9091, allocations: 75.52 kB / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.9091, allocations: 0 / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002696/0.9093, allocations: 129.5 kB / 1.28 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.9094, allocations: 4 kB / 1.28 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.9094, allocations: 0 / 1.28 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.9094, allocations: 7.984 kB / 1.28 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001545/0.9095, allocations: 19.98 kB / 1.28 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.9095, allocations: 8 kB / 1.28 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.43e-05/0.9096, allocations: 7.953 kB / 1.28 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/0.9097, 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.0001257/0.9098, allocations: 126.3 kB / 1.28 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.48e-05/0.9098, allocations: 7.953 kB / 1.28 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002705/0.9101, allocations: 122.1 kB / 1.28 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.767e-06/0.9101, allocations: 7.984 kB / 1.28 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.9101, allocations: 4.062 kB / 1.28 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.9101, allocations: 0 / 1.28 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002684/0.9104, allocations: 221.5 kB / 1.28 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.9104, allocations: 4 kB / 1.28 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/0.9105, allocations: 15.98 kB / 1.28 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.9105, allocations: 4 kB / 1.28 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.9105, allocations: 0 / 1.28 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.932e-06/0.9105, allocations: 4 kB / 1.28 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.9105, allocations: 3.938 kB / 1.28 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002917/0.9108, allocations: 181 kB / 1.28 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001569/0.9109, allocations: 101 kB / 1.281 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.772e-05/0.911, allocations: 4 kB / 1.281 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.424e-05/0.9111, allocations: 7.984 kB / 1.281 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.886e-05/0.9111, allocations: 23.92 kB / 1.281 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.9111, allocations: 4 kB / 1.281 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.187e-05/0.9112, allocations: 106.8 kB / 1.281 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.9112, allocations: 0 / 1.281 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003282/0.9115, allocations: 59.75 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.0003244/0.9119, allocations: 163.2 kB / 1.281 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002808/0.9121, allocations: 87.91 kB / 1.281 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.9122, allocations: 0 / 1.281 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001029/0.9123, allocations: 51.92 kB / 1.281 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002552/0.9125, allocations: 15.98 kB / 1.281 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006178/0.9131, allocations: 240.9 kB / 1.281 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004262/0.9136, allocations: 0.704 MB / 1.282 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.903e-05/0.9136, allocations: 16.55 kB / 1.282 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.982e-05/0.9137, allocations: 19.38 kB / 1.282 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of SimCode: time 4.31e-07/0.9137, allocations: 0 / 1.282 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of Templates: time 0.006037/0.9197, allocations: 1.779 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 cvode -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.423854558728635]