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.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.001597/0.001597, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001819/0.001819, allocations: 218.8 kB / 22.99 MB, free: 4.914 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.479/1.479, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.767/2.767, allocations: 476 MB / 0.7707 GB, free: 4.715 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_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: 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.002185/0.002185, allocations: 66.81 kB / 1.118 GB, free: 41.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3246/0.3268, allocations: 170 MB / 1.284 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002006/0.3288, allocations: 0.7016 MB / 1.284 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002483/0.3313, allocations: 1.546 MB / 1.286 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.843e-05/0.3314, allocations: 3.938 kB / 1.286 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.654e-05/0.3314, allocations: 3.938 kB / 1.286 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001792/0.3316, allocations: 23.84 kB / 1.286 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004798/0.3321, allocations: 167.5 kB / 1.286 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001831/0.3323, allocations: 123.6 kB / 1.286 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.3324, allocations: 11.94 kB / 1.286 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001895/0.3326, allocations: 51.89 kB / 1.286 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000104/0.3327, allocations: 55.69 kB / 1.286 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.418e-05/0.3327, allocations: 8 kB / 1.286 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002341/0.3329, allocations: 127.8 kB / 1.287 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.124e-05/0.333, allocations: 19.98 kB / 1.287 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.823e-05/0.333, allocations: 43.84 kB / 1.287 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003916/0.3334, allocations: 215.2 kB / 1.287 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.3334, allocations: 4 kB / 1.287 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.854e-06/0.3334, allocations: 0 / 1.287 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.3334, allocations: 0 / 1.287 GB, free: 8.855 MB / 0.9825 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.0007055/0.3341, allocations: 357.7 kB / 1.287 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.3342, allocations: 12.03 kB / 1.287 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000309/0.3345, allocations: 32.83 kB / 1.287 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.3346, allocations: 122.3 kB / 1.287 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.181e-05/0.3347, allocations: 59.97 kB / 1.287 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.494e-05/0.3347, allocations: 8.375 kB / 1.287 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002007/0.3349, allocations: 104.3 kB / 1.287 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.3349, allocations: 0 / 1.287 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.3349, allocations: 0 / 1.287 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.3349, allocations: 0 / 1.287 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001088/0.3351, allocations: 51.91 kB / 1.287 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006587/0.3357, allocations: 456.7 kB / 1.288 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004951/0.3362, allocations: 127.7 kB / 1.288 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.707e-05/0.3363, allocations: 42.66 kB / 1.288 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.3363, allocations: 4 kB / 1.288 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002627/0.3366, allocations: 129.9 kB / 1.288 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.653e-06/0.3366, allocations: 0 / 1.288 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0003669/0.3369, allocations: 141.5 kB / 1.288 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.585e-05/0.337, allocations: 110.8 kB / 1.288 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.3371, allocations: 121.8 kB / 1.289 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.511e-05/0.3372, allocations: 33.69 kB / 1.289 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.499e-05/0.3372, allocations: 92.38 kB / 1.289 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.784e-05/0.3373, allocations: 31.73 kB / 1.289 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.106e-05/0.3373, allocations: 33.7 kB / 1.289 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.3375, allocations: 322.9 kB / 1.289 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.63e-05/0.3376, allocations: 39.97 kB / 1.289 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.357e-05/0.3377, allocations: 35.98 kB / 1.289 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001739/0.3379, allocations: 86.62 kB / 1.289 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3379, allocations: 0 / 1.289 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002665/0.3381, allocations: 125.6 kB / 1.289 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.3381, allocations: 7.984 kB / 1.289 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.3381, allocations: 4 kB / 1.289 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.3382, allocations: 0 / 1.289 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.3383, allocations: 19.92 kB / 1.289 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.3383, allocations: 11.94 kB / 1.289 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.407e-05/0.3384, allocations: 11.94 kB / 1.289 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.3384, allocations: 7.984 kB / 1.289 GB, free: 5.914 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.000114/0.3385, allocations: 121.8 kB / 1.29 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.19e-05/0.3385, allocations: 7.953 kB / 1.29 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002398/0.3388, allocations: 122.1 kB / 1.29 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.3388, allocations: 0 / 1.29 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.3388, allocations: 0 / 1.29 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.3388, allocations: 8 kB / 1.29 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000176/0.3389, allocations: 157.1 kB / 1.29 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3389, allocations: 0 / 1.29 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.458e-05/0.339, allocations: 23.92 kB / 1.29 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.339, allocations: 0 / 1.29 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.3391, allocations: 4 kB / 1.29 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3391, allocations: 0 / 1.29 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3391, allocations: 320 / 1.29 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002824/0.3393, allocations: 181.7 kB / 1.29 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.105e-05/0.3394, allocations: 23.88 kB / 1.29 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.69e-05/0.3394, allocations: 8 kB / 1.29 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.802e-05/0.3395, allocations: 11.98 kB / 1.29 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.043e-05/0.3396, allocations: 15.92 kB / 1.29 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.3396, allocations: 4 kB / 1.29 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.095e-05/0.3397, allocations: 104.6 kB / 1.29 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3397, allocations: 0 / 1.29 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002875/0.34, allocations: 71.67 kB / 1.29 GB, free: 5 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.0002618/0.3402, allocations: 176.6 kB / 1.29 GB, free: 4.82 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000238/0.3405, allocations: 91.91 kB / 1.29 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3405, allocations: 0 / 1.29 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001034/0.3406, allocations: 51.92 kB / 1.291 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002047/0.3408, allocations: 14.64 kB / 1.291 GB, free: 4.668 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005141/0.3413, allocations: 263.1 kB / 1.291 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.791e-05/0.3414, allocations: 85.31 kB / 1.291 GB, free: 4.262 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.32e-05/0.3414, allocations: 19.44 kB / 1.291 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.3414, allocations: 0 / 1.291 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of Templates: time 0.004261/0.3457, allocations: 2.049 MB / 1.293 GB, free: 2.195 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 -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/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: 10.978964873123914]