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.001339/0.001339, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001492/0.001492, allocations: 212.6 kB / 23.01 MB, free: 4.566 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.493/1.493, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.785/2.785, allocations: 476.7 MB / 0.7714 GB, free: 4.262 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.002072/0.002072, allocations: 67.17 kB / 1.119 GB, free: 40.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3182, allocations: 170 MB / 1.285 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002034/0.3202, allocations: 0.7327 MB / 1.285 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002365/0.3226, allocations: 1.628 MB / 1.287 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.603e-05/0.3226, allocations: 7.938 kB / 1.287 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.555e-05/0.3227, allocations: 7.922 kB / 1.287 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000188/0.3229, allocations: 15.8 kB / 1.287 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004844/0.3233, allocations: 171.4 kB / 1.287 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001832/0.3235, allocations: 119.7 kB / 1.287 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.3236, allocations: 23.86 kB / 1.287 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001745/0.3238, allocations: 51.84 kB / 1.287 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.3239, allocations: 55.75 kB / 1.287 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.461e-05/0.3239, allocations: 12 kB / 1.287 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00029/0.3242, allocations: 119.9 kB / 1.287 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.527e-05/0.3243, allocations: 27.91 kB / 1.287 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.909e-05/0.3243, allocations: 47.8 kB / 1.288 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003513/0.3247, allocations: 215.3 kB / 1.288 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.3247, allocations: 4 kB / 1.288 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3247, allocations: 0 / 1.288 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.3247, allocations: 0 / 1.288 GB, free: 7.988 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.0007221/0.3254, allocations: 361.6 kB / 1.288 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.3255, allocations: 8.031 kB / 1.288 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003303/0.3258, allocations: 32.81 kB / 1.288 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/0.3259, allocations: 126.4 kB / 1.288 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.258e-05/0.326, allocations: 63.97 kB / 1.288 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.742e-05/0.326, allocations: 4.375 kB / 1.288 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002089/0.3263, allocations: 104.3 kB / 1.288 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.3263, allocations: 0 / 1.288 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.3263, allocations: 0 / 1.288 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.3263, allocations: 4 kB / 1.288 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000107/0.3264, allocations: 47.92 kB / 1.288 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007016/0.3271, allocations: 0.4883 MB / 1.289 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004882/0.3276, allocations: 135.7 kB / 1.289 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.924e-05/0.3277, allocations: 46.56 kB / 1.289 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.3277, allocations: 8.078 kB / 1.289 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000302/0.328, allocations: 109.9 kB / 1.289 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.432e-06/0.328, allocations: 0 / 1.289 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0003538/0.3283, allocations: 141.5 kB / 1.289 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.221e-05/0.3284, allocations: 106.9 kB / 1.289 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.3285, allocations: 129.8 kB / 1.29 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.987e-05/0.3286, allocations: 33.7 kB / 1.29 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.323e-05/0.3286, allocations: 88.38 kB / 1.29 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.878e-05/0.3287, allocations: 35.8 kB / 1.29 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.408e-05/0.3287, allocations: 33.7 kB / 1.29 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001737/0.3289, allocations: 326.8 kB / 1.29 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.937e-05/0.329, allocations: 35.92 kB / 1.29 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.166e-05/0.3291, allocations: 47.44 kB / 1.29 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001696/0.3293, allocations: 76.78 kB / 1.29 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3293, allocations: 0 / 1.29 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002677/0.3295, allocations: 129.6 kB / 1.29 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.3296, allocations: 8 kB / 1.29 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.86e-06/0.3296, allocations: 0 / 1.29 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.3296, allocations: 0 / 1.29 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.3297, allocations: 23.92 kB / 1.29 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.3297, allocations: 0 / 1.29 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.343e-05/0.3298, allocations: 23.88 kB / 1.29 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.484e-05/0.3298, allocations: 7.938 kB / 1.29 GB, free: 4.984 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.0001183/0.3299, allocations: 117.8 kB / 1.291 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.395e-05/0.33, allocations: 7.953 kB / 1.291 GB, free: 4.852 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002464/0.3302, allocations: 110 kB / 1.291 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.3302, allocations: 4 kB / 1.291 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3302, allocations: 0 / 1.291 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.3302, allocations: 8.234 kB / 1.291 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002223/0.3305, allocations: 196.8 kB / 1.291 GB, free: 4.492 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.3305, allocations: 4 kB / 1.291 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.894e-05/0.3306, allocations: 27.92 kB / 1.291 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.3306, allocations: 3.984 kB / 1.291 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.3306, allocations: 4 kB / 1.291 GB, free: 4.453 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.3306, allocations: 0 / 1.291 GB, free: 4.453 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.3306, allocations: 3.984 kB / 1.291 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002766/0.3309, allocations: 177.7 kB / 1.291 GB, free: 4.254 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.321e-05/0.3309, allocations: 19.88 kB / 1.291 GB, free: 4.234 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.019e-05/0.3309, allocations: 11.98 kB / 1.291 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.637e-05/0.331, allocations: 4 kB / 1.291 GB, free: 4.219 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.409e-05/0.3311, allocations: 27.78 kB / 1.291 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.3311, allocations: 4 kB / 1.291 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.533e-05/0.3312, allocations: 106.6 kB / 1.291 GB, free: 4.086 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3312, allocations: 4 kB / 1.291 GB, free: 4.082 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003059/0.3315, allocations: 67.75 kB / 1.291 GB, free: 4.016 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.0003222/0.3318, allocations: 166.9 kB / 1.291 GB, free: 3.844 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000265/0.3321, allocations: 95.89 kB / 1.292 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3321, allocations: 0 / 1.292 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001077/0.3322, allocations: 47.92 kB / 1.292 GB, free: 3.703 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002112/0.3324, allocations: 10.34 kB / 1.292 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005551/0.3329, allocations: 271.1 kB / 1.292 GB, free: 3.387 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004029/0.3333, allocations: 0.7001 MB / 1.293 GB, free: 2.66 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.527e-05/0.3334, allocations: 19.42 kB / 1.293 GB, free: 2.641 MB / 0.9825 GB Notification: Performance of SimCode: time 2.8e-07/0.3334, allocations: 0 / 1.293 GB, free: 2.641 MB / 0.9825 GB Notification: Performance of Templates: time 0.004456/0.3379, allocations: 2.013 MB / 1.294 GB, free: 0.6289 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.986673876002897]