Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001834/0.001834, allocations: 110 kB / 18.93 MB, free: 2.945 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.003014/0.003014, allocations: 189.4 kB / 22.23 MB, free: 5.16 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.583/1.583, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.753/2.753, allocations: 443.4 MB / 0.7321 GB, free: 12.28 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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_10_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_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002248/0.002248, allocations: 67.89 kB / 1.061 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.087/1.089, allocations: 160.8 MB / 1.218 GB, free: 3.668 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.003224/1.092, allocations: 0.7346 MB / 1.219 GB, free: 3.109 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003803/1.096, allocations: 1.537 MB / 1.221 GB, free: 1.871 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/1.096, allocations: 1.156 kB / 1.221 GB, free: 1.871 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.916e-05/1.096, allocations: 11.88 kB / 1.221 GB, free: 1.859 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002372/1.096, allocations: 19 kB / 1.221 GB, free: 1.844 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007329/1.097, allocations: 159.8 kB / 1.221 GB, free: 1.73 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003137/1.097, allocations: 118 kB / 1.221 GB, free: 1.66 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001585/1.098, allocations: 14.2 kB / 1.221 GB, free: 1.652 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002758/1.098, allocations: 52.97 kB / 1.221 GB, free: 1.621 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001807/1.098, allocations: 51.39 kB / 1.221 GB, free: 1.586 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.51e-05/1.098, allocations: 11.12 kB / 1.221 GB, free: 1.586 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004923/1.099, allocations: 101.7 kB / 1.221 GB, free: 1.543 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.493e-05/1.099, allocations: 27.47 kB / 1.221 GB, free: 1.52 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001268/1.099, allocations: 40.83 kB / 1.221 GB, free: 1.492 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0007206/1.099, allocations: 200.7 kB / 1.221 GB, free: 1.363 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.656e-06/1.099, allocations: 0.8438 kB / 1.221 GB, free: 1.363 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.545e-06/1.099, allocations: 0 / 1.221 GB, free: 1.363 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.085e-05/1.099, allocations: 0 / 1.221 GB, free: 1.363 MB / 0.92 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.001343/1.101, allocations: 431 kB / 1.222 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.161e-05/1.101, allocations: 9.094 kB / 1.222 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001049/1.101, allocations: 14.03 kB / 1.222 GB, free: 0.9297 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002815/1.101, allocations: 184.6 kB / 1.222 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001233/1.101, allocations: 31.58 kB / 1.222 GB, free: 0.6836 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.139e-05/1.101, allocations: 13.53 kB / 1.222 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003373/1.102, allocations: 113.8 kB / 1.222 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/1.102, allocations: 0 / 1.222 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.508e-05/1.102, allocations: 5.031 kB / 1.222 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/1.102, allocations: 2.062 kB / 1.222 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001865/1.102, allocations: 45.62 kB / 1.222 GB, free: 0.5469 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001279/1.103, allocations: 0.5182 MB / 1.223 GB, free: 12 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007804/1.104, allocations: 136 kB / 1.223 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001331/1.104, allocations: 44.09 kB / 1.223 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.28e-05/1.104, allocations: 0.9375 kB / 1.223 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004591/1.105, allocations: 123.1 kB / 1.223 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=11): time 1.764e-06/1.105, allocations: 0 / 1.223 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11): time 0.0005561/1.105, allocations: 147.1 kB / 1.223 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001408/1.105, allocations: 104.9 kB / 1.223 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000193/1.106, allocations: 122.4 kB / 1.223 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.933e-05/1.106, allocations: 30.92 kB / 1.223 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001435/1.106, allocations: 91.38 kB / 1.224 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.101e-05/1.106, allocations: 31.95 kB / 1.224 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/1.106, allocations: 40.89 kB / 1.224 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002223/1.106, allocations: 325 kB / 1.224 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001512/1.106, allocations: 33.8 kB / 1.224 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/1.106, allocations: 40.47 kB / 1.224 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003241/1.107, allocations: 76.02 kB / 1.224 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/1.107, allocations: 0 / 1.224 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003992/1.107, allocations: 129.5 kB / 1.224 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/1.107, allocations: 4.969 kB / 1.224 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/1.107, allocations: 4 kB / 1.224 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/1.107, allocations: 1.094 kB / 1.224 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000173/1.107, allocations: 26.95 kB / 1.224 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/1.107, allocations: 4.906 kB / 1.224 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001292/1.108, allocations: 12.86 kB / 1.224 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.333e-05/1.108, allocations: 11.2 kB / 1.224 GB, free: 14.71 MB / 0.9356 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.0001836/1.108, allocations: 129.9 kB / 1.224 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.889e-05/1.108, allocations: 7.797 kB / 1.224 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00038/1.108, allocations: 127.2 kB / 1.224 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/1.108, allocations: 2.156 kB / 1.224 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/1.108, allocations: 0.9688 kB / 1.224 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/1.108, allocations: 1.094 kB / 1.224 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003616/1.109, allocations: 221.5 kB / 1.225 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/1.109, allocations: 1.156 kB / 1.225 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001378/1.109, allocations: 22.92 kB / 1.225 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.026e-05/1.109, allocations: 5.156 kB / 1.225 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.864e-05/1.109, allocations: 6.031 kB / 1.225 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/1.109, allocations: 2.312 kB / 1.225 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/1.109, allocations: 0 / 1.225 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004359/1.109, allocations: 179.4 kB / 1.225 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001343/1.109, allocations: 95.61 kB / 1.225 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.013e-05/1.109, allocations: 13.92 kB / 1.225 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/1.109, allocations: 11.36 kB / 1.225 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.155e-05/1.11, allocations: 17.61 kB / 1.225 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.25e-05/1.11, allocations: 8.391 kB / 1.225 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000133/1.11, allocations: 98.98 kB / 1.225 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/1.11, allocations: 0 / 1.225 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0005867/1.11, allocations: 59.53 kB / 1.225 GB, free: 13.84 MB / 0.9356 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.000435/1.111, allocations: 151.4 kB / 1.225 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000389/1.111, allocations: 96.23 kB / 1.225 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/1.111, allocations: 0 / 1.225 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002028/1.111, allocations: 47.61 kB / 1.225 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00035/1.112, allocations: 9.219 kB / 1.225 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007783/1.112, allocations: 246.2 kB / 1.226 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005269/1.113, allocations: 0.7051 MB / 1.226 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001/1.113, allocations: 17.58 kB / 1.226 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002245/1.113, allocations: 19.48 kB / 1.226 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of SimCode: time 9.92e-07/1.113, allocations: 4 kB / 1.226 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of Templates: time 0.008807/1.122, allocations: 1.815 MB / 1.228 GB, free: 11.79 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & ./Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.531488067470491]