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.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.001307/0.001307, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001321/0.001321, allocations: 186 kB / 20.78 MB, free: 1.547 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.539/1.539, allocations: 225.6 MB / 249.4 MB, free: 3.133 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.949/2.949, allocations: 496.2 MB / 0.7819 GB, free: 12.3 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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: Performance of FrontEnd - loaded program: time 0.002049/0.002049, allocations: 68.08 kB / 1.136 GB, free: 12.47 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.239/1.241, allocations: 173.6 MB / 1.305 GB, free: 33.39 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002118/1.243, allocations: 0.7323 MB / 1.306 GB, free: 32.93 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001833/1.245, allocations: 1.538 MB / 1.308 GB, free: 31.81 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.492e-05/1.245, allocations: 0 / 1.308 GB, free: 31.81 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.807e-05/1.245, allocations: 7.875 kB / 1.308 GB, free: 31.8 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001877/1.245, allocations: 22.05 kB / 1.308 GB, free: 31.79 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003732/1.245, allocations: 162.2 kB / 1.308 GB, free: 31.7 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001623/1.246, allocations: 112.6 kB / 1.308 GB, free: 31.65 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/1.246, allocations: 10.31 kB / 1.308 GB, free: 31.64 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001393/1.246, allocations: 60.22 kB / 1.308 GB, free: 31.61 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.505e-05/1.246, allocations: 47.2 kB / 1.308 GB, free: 31.59 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.537e-05/1.246, allocations: 12.66 kB / 1.308 GB, free: 31.59 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000179/1.246, allocations: 98.94 kB / 1.308 GB, free: 31.57 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.019e-05/1.246, allocations: 33.58 kB / 1.308 GB, free: 31.55 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.251e-05/1.246, allocations: 50.19 kB / 1.308 GB, free: 31.52 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002788/1.247, allocations: 191.5 kB / 1.308 GB, free: 31.46 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/1.247, allocations: 0 / 1.308 GB, free: 31.46 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.613e-06/1.247, allocations: 0 / 1.308 GB, free: 31.46 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.813e-06/1.247, allocations: 0 / 1.308 GB, free: 31.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.0006958/1.247, allocations: 433.9 kB / 1.309 GB, free: 31.05 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/1.247, allocations: 8.438 kB / 1.309 GB, free: 31.05 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.364e-05/1.247, allocations: 7.703 kB / 1.309 GB, free: 31.04 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/1.247, allocations: 189.6 kB / 1.309 GB, free: 30.83 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.404e-05/1.248, allocations: 31.98 kB / 1.309 GB, free: 30.8 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.015e-05/1.248, allocations: 11.38 kB / 1.309 GB, free: 30.79 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001858/1.248, allocations: 100.9 kB / 1.309 GB, free: 30.71 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/1.248, allocations: 0 / 1.309 GB, free: 30.71 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/1.248, allocations: 10.47 kB / 1.309 GB, free: 30.71 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/1.248, allocations: 3.938 kB / 1.309 GB, free: 30.7 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001025/1.248, allocations: 46.67 kB / 1.309 GB, free: 30.69 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005847/1.248, allocations: 0.5154 MB / 1.31 GB, free: 30.2 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004512/1.249, allocations: 140 kB / 1.31 GB, free: 30.1 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.739e-05/1.249, allocations: 43.72 kB / 1.31 GB, free: 30.06 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.878e-05/1.249, allocations: 0 / 1.31 GB, free: 30.06 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000213/1.249, allocations: 118 kB / 1.31 GB, free: 29.97 MB / 1.061 GB Notification: Performance of pre-optimization done (n=11): time 1.192e-06/1.249, allocations: 0 / 1.31 GB, free: 29.97 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.000307/1.25, allocations: 146.2 kB / 1.31 GB, free: 29.89 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.448e-05/1.25, allocations: 109.7 kB / 1.31 GB, free: 29.76 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.871e-05/1.25, allocations: 130.8 kB / 1.31 GB, free: 29.65 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/1.25, allocations: 25.7 kB / 1.31 GB, free: 29.62 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.065e-05/1.25, allocations: 90.84 kB / 1.31 GB, free: 29.53 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.573e-05/1.25, allocations: 28.78 kB / 1.31 GB, free: 29.5 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.372e-05/1.25, allocations: 39.91 kB / 1.311 GB, free: 29.48 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.006e-05/1.25, allocations: 325.1 kB / 1.311 GB, free: 29.16 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.26e-05/1.25, allocations: 40.91 kB / 1.311 GB, free: 29.14 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.179e-05/1.25, allocations: 35 kB / 1.311 GB, free: 29.12 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001437/1.25, allocations: 78.83 kB / 1.311 GB, free: 29.09 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/1.25, allocations: 0 / 1.311 GB, free: 29.09 MB / 1.061 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002038/1.25, allocations: 124.8 kB / 1.311 GB, free: 29.02 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/1.25, allocations: 9.594 kB / 1.311 GB, free: 29.02 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/1.25, allocations: 0 / 1.311 GB, free: 29.02 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/1.25, allocations: 2.719 kB / 1.311 GB, free: 29.02 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/1.251, allocations: 25.47 kB / 1.311 GB, free: 29.01 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/1.251, allocations: 4 kB / 1.311 GB, free: 29.01 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.967e-05/1.251, allocations: 12.91 kB / 1.311 GB, free: 29 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/1.251, allocations: 6.812 kB / 1.311 GB, free: 29 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 7.387e-05/1.251, allocations: 122.8 kB / 1.311 GB, free: 28.88 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.942e-05/1.251, allocations: 9.766 kB / 1.311 GB, free: 28.88 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002177/1.251, allocations: 117.7 kB / 1.311 GB, free: 28.8 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/1.251, allocations: 2.969 kB / 1.311 GB, free: 28.8 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/1.251, allocations: 3 kB / 1.311 GB, free: 28.8 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/1.251, allocations: 3.422 kB / 1.311 GB, free: 28.8 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001427/1.251, allocations: 220.7 kB / 1.312 GB, free: 28.58 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/1.251, allocations: 320 / 1.312 GB, free: 28.58 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.593e-05/1.251, allocations: 28.95 kB / 1.312 GB, free: 28.57 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/1.251, allocations: 0 / 1.312 GB, free: 28.57 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/1.251, allocations: 6.922 kB / 1.312 GB, free: 28.57 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/1.251, allocations: 0 / 1.312 GB, free: 28.57 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/1.251, allocations: 2.938 kB / 1.312 GB, free: 28.57 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002108/1.251, allocations: 180.7 kB / 1.312 GB, free: 28.43 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.789e-05/1.251, allocations: 101.9 kB / 1.312 GB, free: 28.33 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.566e-05/1.251, allocations: 6.906 kB / 1.312 GB, free: 28.32 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.292e-05/1.252, allocations: 8.781 kB / 1.312 GB, free: 28.32 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.277e-05/1.252, allocations: 17.19 kB / 1.312 GB, free: 28.32 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-05/1.252, allocations: 6.938 kB / 1.312 GB, free: 28.31 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.715e-05/1.252, allocations: 101.4 kB / 1.312 GB, free: 28.23 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.252, allocations: 2.906 kB / 1.312 GB, free: 28.23 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000265/1.252, allocations: 60.48 kB / 1.312 GB, free: 28.21 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.0002344/1.252, allocations: 155.9 kB / 1.312 GB, free: 28.1 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002227/1.252, allocations: 91.64 kB / 1.312 GB, free: 28.07 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/1.252, allocations: 0 / 1.312 GB, free: 28.07 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.721e-05/1.252, allocations: 54.89 kB / 1.312 GB, free: 28.05 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002104/1.253, allocations: 19.67 kB / 1.312 GB, free: 28.04 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004523/1.253, allocations: 252.2 kB / 1.313 GB, free: 27.85 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001559/1.253, allocations: 0.7056 MB / 1.313 GB, free: 27.14 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.16e-05/1.253, allocations: 15.11 kB / 1.313 GB, free: 27.14 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.325e-05/1.253, allocations: 15.53 kB / 1.313 GB, free: 27.13 MB / 1.061 GB Notification: Performance of SimCode: time 6.61e-07/1.253, allocations: 0 / 1.313 GB, free: 27.13 MB / 1.061 GB Notification: Performance of Templates: time 0.004616/1.258, allocations: 1.777 MB / 1.315 GB, free: 26.94 MB / 1.061 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) [Timeout 400] 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.920749574899673]