Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001312/0.001312, allocations: 100.8 kB / 19.74 MB, free: 2.07 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.001438/0.001438, allocations: 215 kB / 23.04 MB, free: 4.867 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.396/1.396, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.078/3.078, allocations: 0.49 GB / 0.7959 GB, free: 35.49 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.00197/0.00197, allocations: 70.06 kB / 1.155 GB, free: 25.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.3136, allocations: 176.1 MB / 1.327 GB, free: 1.059 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.001966/0.3156, allocations: 0.7093 MB / 1.328 GB, free: 364 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002079/0.3177, allocations: 1.544 MB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.304e-05/0.3177, allocations: 0 / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.495e-05/0.3178, allocations: 7.875 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000164/0.3179, allocations: 27.84 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004768/0.3184, allocations: 159.5 kB / 1.33 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001619/0.3186, allocations: 127.6 kB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.102e-05/0.3187, allocations: 8 kB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001628/0.3188, allocations: 59.83 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.905e-05/0.3189, allocations: 43.83 kB / 1.33 GB, free: 14.37 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.341e-05/0.3189, allocations: 8 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00022/0.3192, allocations: 123.9 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.587e-05/0.3192, allocations: 27.91 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.752e-05/0.3193, allocations: 39.84 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003164/0.3196, allocations: 219.2 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3196, allocations: 0 / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3196, allocations: 4 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.391e-06/0.3196, allocations: 4 kB / 1.33 GB, free: 13.95 MB / 1.029 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.0006832/0.3203, allocations: 357.6 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.3203, allocations: 12.03 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003307/0.3206, allocations: 28.86 kB / 1.331 GB, free: 13.53 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.3207, allocations: 114.4 kB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.886e-05/0.3208, allocations: 63.97 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.3209, allocations: 12.38 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002043/0.3211, allocations: 109.3 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.3211, allocations: 0 / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.3211, allocations: 0 / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.3211, allocations: 0 / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001132/0.3212, allocations: 55.89 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006069/0.3218, allocations: 448.7 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004922/0.3223, allocations: 135.7 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.401e-05/0.3224, allocations: 42.66 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.404e-05/0.3224, allocations: 7.938 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002241/0.3226, allocations: 109.9 kB / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.283e-06/0.3226, allocations: 0 / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0003317/0.323, allocations: 145.5 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.895e-05/0.323, allocations: 110.9 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.3232, allocations: 137.6 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/0.3232, allocations: 29.7 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.029e-05/0.3232, allocations: 92.38 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.811e-05/0.3233, allocations: 35.8 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.206e-05/0.3233, allocations: 33.7 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.3235, allocations: 326.8 kB / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.26e-05/0.3236, allocations: 31.98 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.381e-05/0.3237, allocations: 35.98 kB / 1.333 GB, free: 11.28 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001728/0.3238, allocations: 78.75 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.3238, allocations: 4 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002624/0.3241, allocations: 133.5 kB / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.3241, allocations: 4 kB / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.3241, allocations: 4 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.3241, allocations: 0 / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.3243, allocations: 15.98 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.3243, allocations: 4 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.685e-05/0.3243, allocations: 15.89 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.524e-05/0.3244, allocations: 7.984 kB / 1.333 GB, free: 11.01 MB / 1.029 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.0001193/0.3245, allocations: 129.7 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.273e-05/0.3245, allocations: 7.953 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002385/0.3247, allocations: 118.1 kB / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.3247, allocations: 0 / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.3248, allocations: 0 / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.3248, allocations: 4 kB / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001753/0.3249, allocations: 157.1 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3249, allocations: 0 / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.247e-05/0.325, allocations: 19.98 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.325, allocations: 4 kB / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.325, allocations: 4.312 kB / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.325, allocations: 4 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.325, allocations: 0 / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000267/0.3253, allocations: 185 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.135e-05/0.3254, allocations: 23.88 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.809e-05/0.3254, allocations: 8 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.599e-05/0.3255, allocations: 7.984 kB / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.21e-05/0.3255, allocations: 11.98 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.3255, allocations: 7.984 kB / 1.333 GB, free: 10.26 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.896e-05/0.3256, allocations: 103.1 kB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3256, allocations: 4 kB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003059/0.3259, allocations: 63.75 kB / 1.334 GB, free: 10.1 MB / 1.029 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.0002776/0.3262, allocations: 182.8 kB / 1.334 GB, free: 9.91 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002464/0.3264, allocations: 91.91 kB / 1.334 GB, free: 9.82 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.3264, allocations: 3.938 kB / 1.334 GB, free: 9.816 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.3265, allocations: 47.91 kB / 1.334 GB, free: 9.77 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002009/0.3267, allocations: 13.89 kB / 1.334 GB, free: 9.758 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004859/0.3272, allocations: 263.2 kB / 1.334 GB, free: 9.461 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.373e-05/0.3273, allocations: 81.33 kB / 1.334 GB, free: 9.359 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.778e-05/0.3274, allocations: 19.42 kB / 1.334 GB, free: 9.34 MB / 1.029 GB Notification: Performance of SimCode: time 2.91e-07/0.3274, allocations: 0 / 1.334 GB, free: 9.34 MB / 1.029 GB Notification: Performance of Templates: time 0.004094/0.3315, allocations: 2.054 MB / 1.336 GB, free: 7.289 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & ./Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.596235807985067]